{
    "name": "LRV Cloud Manager API v1",
    "version": "1",
    "type": "collection",
    "items": [
        {
            "type": "http",
            "name": "Issue Tokens",
            "seq": 1,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/auth/token",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"api_key\": \"lrv_live_your_key\"}"
            },
            "folder": "Authentication"
        },
        {
            "type": "http",
            "name": "Refresh Token",
            "seq": 2,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/auth/refresh",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"refresh_token\": \"your_refresh_token\"}"
            },
            "folder": "Authentication"
        },
        {
            "type": "http",
            "name": "Revoke Tokens",
            "seq": 3,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/auth/revoke",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Authentication"
        },
        {
            "type": "http",
            "name": "List Keys",
            "seq": 4,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/keys",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "API Keys"
        },
        {
            "type": "http",
            "name": "Create Key",
            "seq": 5,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/keys",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"name\": \"My App\", \"environment\": \"production\", \"scopes\": [\"hosting.read\", \"tickets.read\"]}"
            },
            "folder": "API Keys"
        },
        {
            "type": "http",
            "name": "Revoke Key",
            "seq": 6,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/keys/revoke",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "API Keys"
        },
        {
            "type": "http",
            "name": "Rotate Key",
            "seq": 7,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/keys/rotate",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "API Keys"
        },
        {
            "type": "http",
            "name": "List VPS",
            "seq": 8,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/hosting",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Hosting"
        },
        {
            "type": "http",
            "name": "VPS Details",
            "seq": 9,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/hosting/show",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Hosting"
        },
        {
            "type": "http",
            "name": "Restart VPS",
            "seq": 10,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/hosting/restart",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Hosting"
        },
        {
            "type": "http",
            "name": "VPS Metrics",
            "seq": 11,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/hosting/metrics",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Hosting"
        },
        {
            "type": "http",
            "name": "List Tickets",
            "seq": 12,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/tickets",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Tickets"
        },
        {
            "type": "http",
            "name": "Ticket Details",
            "seq": 13,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/tickets/show",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Tickets"
        },
        {
            "type": "http",
            "name": "Create Ticket",
            "seq": 14,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/tickets",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"subject\": \"Server issue\", \"message\": \"Details...\", \"priority\": \"high\", \"department\": \"suporte\"}"
            },
            "folder": "Tickets"
        },
        {
            "type": "http",
            "name": "Reply to Ticket",
            "seq": 15,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/tickets/reply",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"ticket_id\": 1, \"message\": \"Additional info...\"}"
            },
            "folder": "Tickets"
        },
        {
            "type": "http",
            "name": "Close Ticket",
            "seq": 16,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/tickets/close",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Tickets"
        },
        {
            "type": "http",
            "name": "List Subscriptions",
            "seq": 17,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/subscriptions",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Subscriptions"
        },
        {
            "type": "http",
            "name": "Subscription Details",
            "seq": 18,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/subscriptions/show",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Subscriptions"
        },
        {
            "type": "http",
            "name": "Subscription Invoices",
            "seq": 19,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/subscriptions/invoices",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Subscriptions"
        },
        {
            "type": "http",
            "name": "List Domains",
            "seq": 20,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/domains",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Domains"
        },
        {
            "type": "http",
            "name": "Domain Details",
            "seq": 21,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/domains/show",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Domains"
        },
        {
            "type": "http",
            "name": "Add Domain",
            "seq": 22,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/domains",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"domain\": \"example.com\", \"vps_id\": 1, \"type\": \"addon\"}"
            },
            "folder": "Domains"
        },
        {
            "type": "http",
            "name": "Remove Domain",
            "seq": 23,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/domains/remove",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Domains"
        },
        {
            "type": "http",
            "name": "List Databases",
            "seq": 24,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/databases",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Databases"
        },
        {
            "type": "http",
            "name": "Create Database",
            "seq": 25,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/databases",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"vps_id\": 1, \"db_name\": \"myapp_db\", \"db_type\": \"mysql\"}"
            },
            "folder": "Databases"
        },
        {
            "type": "http",
            "name": "Remove Database",
            "seq": 26,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/databases/remove",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Databases"
        },
        {
            "type": "http",
            "name": "List Backups",
            "seq": 27,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/backups",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Backups"
        },
        {
            "type": "http",
            "name": "Create Backup",
            "seq": 28,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/backups",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"vps_id\": 1}"
            },
            "folder": "Backups"
        },
        {
            "type": "http",
            "name": "Restore Backup",
            "seq": 29,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/backups/restore",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"backup_id\": 1}"
            },
            "folder": "Backups"
        },
        {
            "type": "http",
            "name": "List Applications",
            "seq": 30,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/applications",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Applications"
        },
        {
            "type": "http",
            "name": "Application Catalog",
            "seq": 31,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/applications/catalog",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Applications"
        },
        {
            "type": "http",
            "name": "Install Application",
            "seq": 32,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/applications/install",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"template_id\": 1, \"vps_id\": 1, \"domain\": \"app.example.com\"}"
            },
            "folder": "Applications"
        },
        {
            "type": "http",
            "name": "Application Status",
            "seq": 33,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/applications/status",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Applications"
        },
        {
            "type": "http",
            "name": "List Emails",
            "seq": 34,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/emails",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Emails"
        },
        {
            "type": "http",
            "name": "Create Email",
            "seq": 35,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/emails",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"email_address\": \"user@example.com\", \"password\": \"SecurePass123!\", \"quota_mb\": 1024}"
            },
            "folder": "Emails"
        },
        {
            "type": "http",
            "name": "Remove Email",
            "seq": 36,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/emails/remove",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Emails"
        },
        {
            "type": "http",
            "name": "List Webhooks",
            "seq": 37,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/webhooks",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Webhooks"
        },
        {
            "type": "http",
            "name": "Available Events",
            "seq": 38,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/webhooks/events",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Webhooks"
        },
        {
            "type": "http",
            "name": "Create Webhook",
            "seq": 39,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/webhooks",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": "{\"url\": \"https://your-server.com/webhook\", \"events\": [\"ticket.created\", \"payment.received\"]}"
            },
            "folder": "Webhooks"
        },
        {
            "type": "http",
            "name": "Delivery History",
            "seq": 40,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/webhooks/deliveries",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Webhooks"
        },
        {
            "type": "http",
            "name": "Resend Delivery",
            "seq": 41,
            "request": {
                "method": "POST",
                "url": "{{base_url}}/api/v1/webhooks/resend",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Webhooks"
        },
        {
            "type": "http",
            "name": "API Status",
            "seq": 42,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/status",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Status"
        },
        {
            "type": "http",
            "name": "Incidents",
            "seq": 43,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/status/incidents",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Status"
        },
        {
            "type": "http",
            "name": "Request Logs",
            "seq": 44,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/logs",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Logs"
        },
        {
            "type": "http",
            "name": "API Changelog",
            "seq": 45,
            "request": {
                "method": "GET",
                "url": "{{base_url}}/api/v1/changelog",
                "headers": [
                    {
                        "name": "X-API-Key",
                        "value": "{{api_key}}",
                        "enabled": true
                    },
                    {
                        "name": "Content-Type",
                        "value": "application/json",
                        "enabled": true
                    }
                ],
                "body": null
            },
            "folder": "Changelog"
        }
    ],
    "environments": [
        {
            "name": "Production",
            "variables": [
                {
                    "name": "base_url",
                    "value": "https://seudominio.com"
                },
                {
                    "name": "api_key",
                    "value": "lrv_live_..."
                }
            ]
        },
        {
            "name": "Sandbox",
            "variables": [
                {
                    "name": "base_url",
                    "value": "https://seudominio.com"
                },
                {
                    "name": "api_key",
                    "value": "lrv_test_..."
                }
            ]
        }
    ]
}