ApiPromotionRequest

ApiPromotionRequest
ApiPromotionRequest
JSON Example
{
    "endpoint": {
        "details": {
            "context_id": "string",
            "request": [
                {
                    "content_type": "string",
                    "extended_content_type": "string",
                    "last_updated": 0,
                    "params": [
                        {
                            "hits": 0,
                            "last_updated": 0,
                            "maximum": 0,
                            "minimum": 0,
                            "param_location": "string",
                            "param_name": "string",
                            "param_pattern": "string",
                            "param_types": [
                                {
                                    "confidence_factor": "number",
                                    "hits": 0,
                                    "last_updated": 0,
                                    "param_size": "string",
                                    "param_type": "string",
                                    "param_type_violation": "string",
                                    "recommended_type": false,
                                    "string_format": "string"
                                }
                            ]
                        }
                    ]
                }
            ],
            "response": [
                {
                    "content_type": "string",
                    "extended_content_type": "string",
                    "last_updated": 0,
                    "rsp_codes": [
                        {
                            "hits": 0,
                            "last_updated": 0,
                            "response_content_type_violation": "string",
                            "rsp_code": 0
                        }
                    ]
                }
            ]
        },
        "method": "string",
        "path": "string"
    },
    "virtual_service_ref": "string"
}
endpoint
Optional

endpoint

string
virtual_service_ref
Optional

Reference to the VirtualService that receives the promoted endpoint via its associated ApiPolicy. It is a reference to an object of type VirtualService. Field introduced in 32.1.4. Allowed with any value in Enterprise, Essentials, Basic, Enterprise with Cloud Services edition.