From 7627bcf40f157fdb623a6579a7776a4d1e183854 Mon Sep 17 00:00:00 2001 From: Benjamin Confino Date: Wed, 8 May 2024 14:42:17 +0100 Subject: [PATCH] remove unused files --- .../runtime/_modelReader/_expected.json | 14 - .../testApimanGatewayWAR.expected.json | 283 - .../testApimanManagerWAR.expected.json | 10001 ---------------- 3 files changed, 10298 deletions(-) delete mode 100644 extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json delete mode 100644 extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json delete mode 100644 extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json deleted file mode 100644 index 74e1769a1..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/_modelReader/_expected.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "openapi": "3.1.0", - "info": { - "title": "Model Reader API", - "description": "This is an API created by the Model Reader.", - "contact": { - "name": "API Support", - "url": "http://www.example.com/support", - "email": "support@example.com" - }, - "version": "1.17" - }, - "paths": {} -} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json deleted file mode 100644 index ffdd1589f..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanGatewayWAR.expected.json +++ /dev/null @@ -1,283 +0,0 @@ -{ - "openapi" : "3.1.0", - "info" : { - "title" : "Generated API", - "version" : "1.0" - }, - "paths" : { - "/apis" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Api" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}/endpoint" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiEndpoint" - } - } - } - } - } - } - }, - "/clients" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Client" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/clients/{organizationId}/{clientId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/system/status" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SystemStatus" - } - } - } - } - } - } - } - }, - "components" : { - "schemas" : { - "ApiEndpoint" : { - "properties" : { - "endpoint" : { - "type" : "string" - } - } - }, - "Api" : { - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiPolicies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "type" : "string" - }, - "maxPayloadBufferSize" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "publicAPI" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "Client" : { - "properties" : { - "apiKey" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "contracts" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiOrgId" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "plan" : { - "type" : "string" - }, - "policies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - } - } - } - }, - "organizationId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "SystemStatus" : { - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "up" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - } - } - } -} diff --git a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json b/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json deleted file mode 100644 index acd7516a2..000000000 --- a/extension-jaxrs/src/test/resources/io/smallrye/openapi/runtime/testApimanManagerWAR.expected.json +++ /dev/null @@ -1,10001 +0,0 @@ -{ - "openapi" : "3.1.0", - "info" : { - "title" : "Generated API", - "version" : "1.0" - }, - "paths" : { - "/actions" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ActionBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/apis" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Api" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/apis/{organizationId}/{apiId}/{version}/endpoint" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiEndpoint" - } - } - } - } - } - } - }, - "/clients" : { - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/Client" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/clients/{organizationId}/{clientId}/{version}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/currentuser/apiorgs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/apis" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/clientorgs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/clients" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/currentuser/info" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/CurrentUserBean" - } - } - } - } - } - }, - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateUserBean" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/currentuser/planorgs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - }, - "/downloads/{downloadId}" : { - "get" : { - "parameters" : [ { - "name" : "downloadId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { }, - "text/xml" : { } - } - } - } - } - }, - "/gateways" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - } - } - } - } - } - } - }, - "put" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewGatewayBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GatewayTestResultBean" - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewGatewayBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GatewayBean" - } - } - } - } - } - } - }, - "/gateways/{gatewayId}" : { - "get" : { - "parameters" : [ { - "name" : "gatewayId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GatewayBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "gatewayId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateGatewayBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "gatewayId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewOrganizationBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/OrganizationBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/OrganizationBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateOrganizationBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewApiBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateApiBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - }, - "publicAPI" : { - "type" : "boolean" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewApiVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateApiVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/contracts" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiDescription" : { - "type" : "string" - }, - "apiId" : { - "type" : "string" - }, - "apiName" : { - "type" : "string" - }, - "apiOrganizationId" : { - "type" : "string" - }, - "apiOrganizationName" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "clientName" : { - "type" : "string" - }, - "clientOrganizationId" : { - "type" : "string" - }, - "clientOrganizationName" : { - "type" : "string" - }, - "clientVersion" : { - "type" : "string" - }, - "contractId" : { - "format" : "int64", - "type" : "integer" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "planId" : { - "type" : "string" - }, - "planName" : { - "type" : "string" - }, - "planVersion" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/definition" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { }, - "application/wsdl+xml" : { }, - "application/x-yaml" : { } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewApiDefinitionBean" - } - } - } - }, - "responses" : { - "201" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/endpoint" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionEndpointSummaryBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/clientResponseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsPerClientBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/clientUsage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UsagePerClientBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/planResponseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsPerPlanBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/planUsage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UsagePerPlanBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/responseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "interval", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/HistogramIntervalType" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsHistogramBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/summaryResponseStats" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ResponseStatsSummaryBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/metrics/usage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "interval", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/HistogramIntervalType" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UsageHistogramBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/plans" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planDescription" : { - "type" : "string" - }, - "planId" : { - "type" : "string" - }, - "planName" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/plans/{planId}/policyChain" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/policies" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPolicyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/policies/{policyId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePolicyBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/reorderPolicies" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/apis/{apiId}/versions/{version}/status" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "apiId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiVersionStatusBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewClientBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateClientBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiKey" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewClientVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/apikey" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiKeyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiKeyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ApiKeyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/apiregistry/json" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "download", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/apiregistry/xml" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "download", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/xml" : { }, - "application/json" : { } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/contracts" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiDescription" : { - "type" : "string" - }, - "apiId" : { - "type" : "string" - }, - "apiName" : { - "type" : "string" - }, - "apiOrganizationId" : { - "type" : "string" - }, - "apiOrganizationName" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "clientName" : { - "type" : "string" - }, - "clientOrganizationId" : { - "type" : "string" - }, - "clientOrganizationName" : { - "type" : "string" - }, - "clientVersion" : { - "type" : "string" - }, - "contractId" : { - "format" : "int64", - "type" : "integer" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "planId" : { - "type" : "string" - }, - "planName" : { - "type" : "string" - }, - "planVersion" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewContractBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ContractBean" - } - } - } - } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/contracts/{contractId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "contractId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ContractBean" - } - } - } - } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "contractId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/metrics/apiUsage" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "from", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "to", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ClientUsagePerApiBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/policies" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPolicyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/policies/{policyId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePolicyBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/clients/{clientId}/versions/{version}/reorderPolicies" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "clientId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/members" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "email" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "roles" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "roleId" : { - "type" : "string" - }, - "roleName" : { - "type" : "string" - } - } - } - }, - "userId" : { - "type" : "string" - }, - "userName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/members/{userId}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/plans" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPlanBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePlanBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPlanVersionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PlanVersionBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/activity" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/policies" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPolicyBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/policies/{policyId}" : { - "get" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdatePolicyBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "policyId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/organizations/{organizationId}/plans/{planId}/versions/{version}/reorderPolicies" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "planId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "version", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyChainBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/roles" : { - "post" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GrantRolesBean" - } - } - } - }, - "responses" : { - "201" : { } - } - } - }, - "/organizations/{organizationId}/roles/{roleId}/{userId}" : { - "delete" : { - "parameters" : [ { - "name" : "organizationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/permissions" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UserPermissionsBean" - } - } - } - } - } - } - }, - "/permissions/{userId}" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UserPermissionsBean" - } - } - } - } - } - } - }, - "/plugins" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewPluginBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PluginBean" - } - } - } - } - } - } - }, - "/plugins/availablePlugins" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/plugins/{pluginId}" : { - "get" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PluginBean" - } - } - } - } - } - }, - "delete" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/plugins/{pluginId}/policyDefs" : { - "get" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/plugins/{pluginId}/policyDefs/{policyDefId}/form" : { - "get" : { - "parameters" : [ { - "name" : "pluginId", - "in" : "path", - "required" : true, - "schema" : { - "format" : "int64", - "type" : "integer" - } - }, { - "name" : "policyDefId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "string" - } - } - } - } - } - } - }, - "/policyDefs" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyDefinitionBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyDefinitionBean" - } - } - } - } - } - } - }, - "/policyDefs/{policyDefinitionId}" : { - "get" : { - "parameters" : [ { - "name" : "policyDefinitionId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/PolicyDefinitionBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "policyDefinitionId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "policyDefinitionId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/roles" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - } - } - } - } - } - } - }, - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/NewRoleBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/RoleBean" - } - } - } - } - } - } - }, - "/roles/search" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/roles/{roleId}" : { - "get" : { - "parameters" : [ { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/RoleBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateRoleBean" - } - } - } - }, - "responses" : { - "204" : { } - } - }, - "delete" : { - "parameters" : [ { - "name" : "roleId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "204" : { } - } - } - }, - "/search/apiCatalog/entries" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "internal" : { - "type" : "boolean" - }, - "name" : { - "type" : "string" - }, - "namespace" : { - "type" : "string" - }, - "routeDefinitionUrl" : { - "type" : "string" - }, - "routeEndpoint" : { - "type" : "string" - }, - "tags" : { - "type" : "array", - "items" : { - "type" : "string" - } - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/search/apiCatalog/namespaces" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "current" : { - "type" : "boolean" - }, - "name" : { - "type" : "string" - }, - "ownedByUser" : { - "type" : "boolean" - } - } - } - } - } - } - } - } - } - }, - "/search/apis" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/search/clients" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/search/organizations" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/system/export" : { - "get" : { - "parameters" : [ { - "name" : "download", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { } - } - } - } - } - }, - "/system/import" : { - "post" : { - "responses" : { - "200" : { - "content" : { - "text/plain" : { } - } - } - } - } - }, - "/system/status" : { - "get" : { - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SystemStatusBean" - } - } - } - } - } - } - }, - "/users/search" : { - "post" : { - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaBean" - } - } - } - }, - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "admin" : { - "type" : "boolean" - }, - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "username" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/users/{userId}" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UserBean" - } - } - } - } - } - }, - "put" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateUserBean" - } - } - } - }, - "responses" : { - "204" : { } - } - } - }, - "/users/{userId}/activity" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - }, { - "name" : "page", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - }, { - "name" : "count", - "in" : "query", - "required" : true, - "schema" : { - "format" : "int32", - "type" : "integer" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "properties" : { - "beans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "data" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityType" : { - "enum" : [ "Api", "Client", "Organization", "Plan" ], - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "what" : { - "enum" : [ "AddPolicy", "BreakContract", "Clone", "Create", "CreateContract", "Delete", "DeleteDefinition", "Grant", "Lock", "Publish", "Register", "RemovePolicy", "ReorderPolicies", "Retire", "Revoke", "Unregister", "Update", "UpdateDefinition", "UpdatePolicy" ], - "type" : "string" - }, - "who" : { - "type" : "string" - } - } - } - }, - "totalSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - }, - "/users/{userId}/apis" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/users/{userId}/clients" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numContracts" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "organizationName" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - }, - "/users/{userId}/organizations" : { - "get" : { - "parameters" : [ { - "name" : "userId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" - } - } ], - "responses" : { - "200" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numApis" : { - "format" : "int32", - "type" : "integer" - }, - "numClients" : { - "format" : "int32", - "type" : "integer" - }, - "numMembers" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - } - } - } - } - } - } - }, - "components" : { - "schemas" : { - "ApiEndpoint" : { - "properties" : { - "endpoint" : { - "type" : "string" - } - } - }, - "Api" : { - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiPolicies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "type" : "string" - }, - "maxPayloadBufferSize" : { - "format" : "int64", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "publicAPI" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "Client" : { - "properties" : { - "apiKey" : { - "type" : "string" - }, - "clientId" : { - "type" : "string" - }, - "contracts" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiOrgId" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "plan" : { - "type" : "string" - }, - "policies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "policyImpl" : { - "type" : "string" - }, - "policyJsonConfig" : { - "type" : "string" - } - } - } - } - } - } - }, - "organizationId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "SystemStatus" : { - "properties" : { - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "up" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "ActionBean" : { - "properties" : { - "entityId" : { - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "organizationId" : { - "type" : "string" - }, - "type" : { - "enum" : [ "lockPlan", "publishAPI", "registerClient", "retireAPI", "unregisterClient" ], - "type" : "string" - } - } - }, - "CurrentUserBean" : { - "properties" : { - "permissions" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "name" : { - "enum" : [ "apiAdmin", "apiEdit", "apiView", "clientAdmin", "clientEdit", "clientView", "orgAdmin", "orgEdit", "orgView", "planAdmin", "planEdit", "planView" ], - "type" : "string" - }, - "organizationId" : { - "type" : "string" - } - } - } - }, - "admin" : { - "type" : "boolean" - }, - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "username" : { - "type" : "string" - } - } - }, - "UpdateUserBean" : { - "properties" : { - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - } - } - }, - "NewGatewayBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - }, - "GatewayBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - }, - "GatewayTestResultBean" : { - "properties" : { - "detail" : { - "type" : "string" - }, - "success" : { - "type" : "boolean" - } - } - }, - "UpdateGatewayBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "type" : { - "enum" : [ "REST" ], - "type" : "string" - } - } - }, - "NewOrganizationBean" : { - "properties" : { - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - } - } - }, - "OrganizationBean" : { - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - }, - "NewApiBean" : { - "properties" : { - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "initialVersion" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - } - } - }, - "ApiBean" : { - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "NewPolicyBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "definitionId" : { - "type" : "string" - } - } - }, - "PolicyBean" : { - "properties" : { - "configuration" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definition" : { - "type" : "object", - "properties" : { - "deleted" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "form" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - }, - "templates" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "language" : { - "type" : "string" - }, - "template" : { - "type" : "string" - } - } - } - } - } - }, - "description" : { - "type" : "string" - }, - "entityId" : { - "type" : "string" - }, - "entityVersion" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "orderIndex" : { - "format" : "int32", - "type" : "integer" - }, - "organizationId" : { - "type" : "string" - }, - "type" : { - "enum" : [ "Api", "Client", "Plan" ], - "type" : "string" - } - } - }, - "NewApiVersionBean" : { - "properties" : { - "clone" : { - "type" : "boolean" - }, - "cloneVersion" : { - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "ApiVersionBean" : { - "properties" : { - "api" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "NewClientBean" : { - "properties" : { - "description" : { - "type" : "string" - }, - "initialVersion" : { - "type" : "string" - }, - "name" : { - "type" : "string" - } - } - }, - "ClientBean" : { - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "NewClientVersionBean" : { - "properties" : { - "apiKey" : { - "type" : "string" - }, - "clone" : { - "type" : "boolean" - }, - "cloneVersion" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "ClientVersionBean" : { - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "NewContractBean" : { - "properties" : { - "apiId" : { - "type" : "string" - }, - "apiOrgId" : { - "type" : "string" - }, - "apiVersion" : { - "type" : "string" - }, - "planId" : { - "type" : "string" - } - } - }, - "ContractBean" : { - "properties" : { - "api" : { - "type" : "object", - "properties" : { - "api" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "client" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientVersionBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - } - } - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "plan" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - } - } - } - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanVersionBean", - "type" : "object" - } - } - } - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - }, - "NewPlanBean" : { - "properties" : { - "description" : { - "type" : "string" - }, - "initialVersion" : { - "type" : "string" - }, - "name" : { - "type" : "string" - } - } - }, - "PlanBean" : { - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - } - } - } - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - } - } - }, - "NewPlanVersionBean" : { - "properties" : { - "clone" : { - "type" : "boolean" - }, - "cloneVersion" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "PlanVersionBean" : { - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "lockedOn" : { - "format" : "date", - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "plan" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "type" : "object", - "properties" : { - "apiSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apiVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "api" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiBean", - "type" : "object" - }, - "apiDefinition" : { - "type" : "object", - "properties" : { - "apiVersion" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.apis.ApiVersionBean", - "type" : "object" - }, - "data" : { - "type" : "array", - "items" : { - "format" : "byte", - "type" : "string" - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "numPublished" : { - "format" : "int32", - "type" : "integer" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "clientSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "clientVersionSet" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "apikey" : { - "type" : "string" - }, - "client" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.clients.ClientBean", - "type" : "object" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "publishedOn" : { - "format" : "date", - "type" : "string" - }, - "retiredOn" : { - "format" : "date", - "type" : "string" - }, - "status" : { - "enum" : [ "Created", "Ready", "Registered", "Retired" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "organization" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.orgs.OrganizationBean", - "type" : "object" - } - } - } - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "modifiedBy" : { - "type" : "string" - }, - "modifiedOn" : { - "format" : "date", - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "planSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanBean", - "type" : "object" - } - } - } - }, - "planVersionSet" : { - "type" : "array", - "items" : { - "description" : "Cyclic reference to io.apiman.manager.api.beans.plans.PlanVersionBean", - "type" : "object" - } - } - } - }, - "status" : { - "enum" : [ "Created", "Locked", "Ready" ], - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "PolicyChainBean" : { - "properties" : { - "policies" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "policyDefinitionId" : { - "type" : "string" - } - } - } - } - } - }, - "ApiVersionEndpointSummaryBean" : { - "properties" : { - "managedEndpoint" : { - "type" : "string" - } - } - }, - "ApiVersionStatusBean" : { - "properties" : { - "items" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "done" : { - "type" : "boolean" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "optional" : { - "type" : "boolean" - }, - "remediation" : { - "type" : "string" - } - } - } - }, - "status" : { - "enum" : [ "Created", "Published", "Ready", "Retired" ], - "type" : "string" - } - } - }, - "ApiKeyBean" : { - "properties" : { - "apiKey" : { - "type" : "string" - } - } - }, - "ClientUsagePerApiBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "format" : "int64", - "type" : "integer" - } - } - } - }, - "HistogramIntervalType" : { }, - "ResponseStatsHistogramBean" : { - "properties" : { - "data" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "ResponseStatsPerClientBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "type" : "object", - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "ResponseStatsPerPlanBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "type" : "object", - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "ResponseStatsSummaryBean" : { - "properties" : { - "errors" : { - "format" : "int64", - "type" : "integer" - }, - "failures" : { - "format" : "int64", - "type" : "integer" - }, - "total" : { - "format" : "int64", - "type" : "integer" - } - } - }, - "UsageHistogramBean" : { - "properties" : { - "data" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "count" : { - "format" : "int64", - "type" : "integer" - }, - "label" : { - "type" : "string" - } - } - } - } - } - }, - "UsagePerClientBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "format" : "int64", - "type" : "integer" - } - } - } - }, - "UsagePerPlanBean" : { - "properties" : { - "data" : { - "type" : "object", - "additionalProperties" : { - "format" : "int64", - "type" : "integer" - } - } - } - }, - "GrantRolesBean" : { - "properties" : { - "roleIds" : { - "type" : "array", - "items" : { - "type" : "string" - } - }, - "userId" : { - "type" : "string" - } - } - }, - "UpdateOrganizationBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "UpdateApiBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "NewApiDefinitionBean" : { - "properties" : { - "definitionType" : { - "enum" : [ "External", "None", "RAML", "SwaggerJSON", "SwaggerYAML", "WADL", "WSDL" ], - "type" : "string" - }, - "definitionUrl" : { - "type" : "string" - } - } - }, - "UpdatePolicyBean" : { - "properties" : { - "configuration" : { - "type" : "string" - } - } - }, - "UpdateApiVersionBean" : { - "properties" : { - "endpoint" : { - "type" : "string" - }, - "endpointContentType" : { - "enum" : [ "json", "xml" ], - "type" : "string" - }, - "endpointProperties" : { - "type" : "object", - "additionalProperties" : { - "type" : "string" - } - }, - "endpointType" : { - "enum" : [ "rest", "soap" ], - "type" : "string" - }, - "gateways" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "gatewayId" : { - "type" : "string" - } - } - } - }, - "parsePayload" : { - "type" : "boolean" - }, - "plans" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "planId" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - } - }, - "publicAPI" : { - "type" : "boolean" - } - } - }, - "UpdateClientBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "UpdatePlanBean" : { - "properties" : { - "description" : { - "type" : "string" - } - } - }, - "UserPermissionsBean" : { - "properties" : { - "permissions" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "name" : { - "enum" : [ "apiAdmin", "apiEdit", "apiView", "clientAdmin", "clientEdit", "clientView", "orgAdmin", "orgEdit", "orgView", "planAdmin", "planEdit", "planView" ], - "type" : "string" - }, - "organizationId" : { - "type" : "string" - } - } - } - }, - "userId" : { - "type" : "string" - } - } - }, - "NewPluginBean" : { - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "upgrade" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "PluginBean" : { - "properties" : { - "artifactId" : { - "type" : "string" - }, - "classifier" : { - "type" : "string" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "deleted" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "groupId" : { - "type" : "string" - }, - "id" : { - "format" : "int64", - "type" : "integer" - }, - "name" : { - "type" : "string" - }, - "type" : { - "type" : "string" - }, - "version" : { - "type" : "string" - } - } - }, - "PolicyDefinitionBean" : { - "properties" : { - "deleted" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "form" : { - "type" : "string" - }, - "formType" : { - "enum" : [ "Default", "JsonSchema" ], - "type" : "string" - }, - "icon" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "pluginId" : { - "format" : "int64", - "type" : "integer" - }, - "policyImpl" : { - "type" : "string" - }, - "templates" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "language" : { - "type" : "string" - }, - "template" : { - "type" : "string" - } - } - } - } - } - }, - "NewRoleBean" : { - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - }, - "RoleBean" : { - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "createdBy" : { - "type" : "string" - }, - "createdOn" : { - "format" : "date", - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - }, - "SearchCriteriaBean" : { - "properties" : { - "filters" : { - "type" : "array", - "items" : { - "type" : "object", - "properties" : { - "name" : { - "type" : "string" - }, - "operator" : { - "enum" : [ "bool_eq", "eq", "gt", "gte", "like", "lt", "lte", "neq" ], - "type" : "string" - }, - "value" : { - "type" : "string" - } - } - } - }, - "orderBy" : { - "type" : "object", - "properties" : { - "ascending" : { - "type" : "boolean" - }, - "name" : { - "type" : "string" - } - } - }, - "paging" : { - "type" : "object", - "properties" : { - "page" : { - "format" : "int32", - "type" : "integer" - }, - "pageSize" : { - "format" : "int32", - "type" : "integer" - } - } - } - } - }, - "UpdateRoleBean" : { - "properties" : { - "autoGrant" : { - "type" : "boolean" - }, - "description" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "permissions" : { - "type" : "array", - "items" : { - "type" : "object" - } - } - } - }, - "SystemStatusBean" : { - "properties" : { - "builtOn" : { - "type" : "string" - }, - "description" : { - "type" : "string" - }, - "id" : { - "type" : "string" - }, - "moreInfo" : { - "type" : "string" - }, - "name" : { - "type" : "string" - }, - "up" : { - "type" : "boolean" - }, - "version" : { - "type" : "string" - } - } - }, - "UserBean" : { - "properties" : { - "admin" : { - "type" : "boolean" - }, - "email" : { - "type" : "string" - }, - "fullName" : { - "type" : "string" - }, - "joinedOn" : { - "format" : "date", - "type" : "string" - }, - "username" : { - "type" : "string" - } - } - } - } - } -}