platformsh / platformsh-client-js

Platform.sh API client library
MIT License
8 stars 12 forks source link

Add enforced property to subscription project options type #289

Closed Ndifreke closed 9 months ago

Ndifreke commented 9 months ago

Example payload returned in Enforced

{
    "capabilities": {
        "integrations": {
            "config": {
                "blackfire": {
                    "enabled": true,
                    "role": "admin"
                }
            },
            "enabled": true
        },
        "metrics": {
            "max_range": "30d"
        }
    },
    "integrations": {
        "create": [
            "blackfire"
        ]
    },
    "settings": {
        "data_retention": {
            "development": {
                "default_config": {
                    "manual_count": 2,
                    "schedule": []
                },
                "max_backups": 2
            },
            "production": {
                "default_config": {
                    "manual_count": 2,
                    "schedule": [
                        {
                            "count": 2,
                            "interval": "1d"
                        }
                    ]
                },
                "max_backups": 4
            }
        },
        "enable_paused_environments": true
    }
}