{ "openapi": "3.0.1", "info": { "title": "Ml Configuration Management Service", "description": "Ml Configuration Management Service", "version": "1.1.0" }, "servers": [ { "url": "https://mc.adobe.io/", "description": "Generated server url" } ], "paths": { "/{tenant}/target/models/features/blockList/{campaignId}": { "get": { "tags": [ "models" ], "operationId": "getBlockedFeaturesByCampaignId", "parameters": [ { "name": "tenant", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "campaignId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/BlockedFeatures" } } } }, "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } }, "put": { "tags": [ "models" ], "operationId": "putBlockedFeaturesByCampaignId", "parameters": [ { "name": "tenant", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "campaignId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BlockedFeaturesDTO" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/BlockedFeatures" } } } }, "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } } }, "/{tenant}/target/models/features/blockList/global": { "get": { "tags": [ "models" ], "operationId": "getGlobalBlockedFeatures", "parameters": [ { "name": "tenant", "in": "path", "required": true, "schema": { "type": "string" } } ], "responses": { "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/BlockedFeatures" } } } }, "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } }, "put": { "tags": [ "models" ], "operationId": "putBlockedFeaturesGlobal", "parameters": [ { "name": "tenant", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/BlockedFeaturesDTO" } } }, "required": true }, "responses": { "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/BlockedFeatures" } } } }, "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } } }, "/{tenant}/target/models/features/{campaignId}": { "get": { "tags": [ "models" ], "operationId": "getFeatures", "parameters": [ { "name": "tenant", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "campaignId", "in": "path", "required": true, "schema": { "type": "integer", "format": "int64" } } ], "responses": { "200": { "description": "OK", "content": { "application/vnd.adobe.target.v1+json": { "schema": { "$ref": "#/components/schemas/ClientFeaturesDTO" } } } }, "400": { "description": "Bad Request", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "404": { "description": "Not Found", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } }, "500": { "description": "Internal Server Error", "content": { "*/*": { "schema": { "$ref": "#/components/schemas/ErrorResponse" } } } } } } } }, "components": { "schemas": { "ErrorResponse": { "type": "object", "properties": { "status": { "type": "integer", "format": "int32" }, "message": { "type": "string" } } }, "BlockedFeaturesDTO": { "required": [ "blockedFeatureSources", "blockedFeatures" ], "type": "object", "properties": { "blockedFeatures": { "type": "array", "items": { "type": "string" } }, "blockedFeatureSources": { "type": "array", "items": { "type": "string" } } } }, "BlockedFeatures": { "type": "object", "properties": { "blockedFeatures": { "type": "array", "items": { "type": "string" } }, "blockedFeatureSources": { "type": "array", "items": { "type": "string" } } } }, "ClientFeaturesDTO": { "required": [ "features", "reportParameters" ], "type": "object", "properties": { "features": { "type": "array", "items": { "$ref": "#/components/schemas/FeatureDTO" } } } }, "FeatureDTO": { "type": "object", "properties": { "externalName": { "type": "string" }, "internalName": { "type": "string" }, "type": { "type": "string" } } } } } }