Enable Discovery debug logging for production troubleshooting
- Add DISCOVERY_LOG_LEVEL=debug - Add DISCOVERY_SHOW_PROGRESS=true - Temporary changes for debugging InitializerProcessor fixes on production
This commit is contained in:
134
backups/docs-backup-20250731125004/api.html
Normal file
134
backups/docs-backup-20250731125004/api.html
Normal file
@@ -0,0 +1,134 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>API Documentation</title>
|
||||
<style>body {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #2c3e50;
|
||||
max-width: 1000px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background: #ecf0f1;
|
||||
}
|
||||
|
||||
.markdown-content {
|
||||
background: white;
|
||||
padding: 30px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
||||
}
|
||||
|
||||
h1, h2, h3 {
|
||||
color: #34495e;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2.2em;
|
||||
color: #2980b9;
|
||||
border-bottom: 3px solid #3498db;
|
||||
padding-bottom: 12px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.6em;
|
||||
color: #27ae60;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.3em;
|
||||
color: #8e44ad;
|
||||
}
|
||||
|
||||
code {
|
||||
background: #f8f9fa;
|
||||
color: #e74c3c;
|
||||
border: 1px solid #dee2e6;
|
||||
border-radius: 4px;
|
||||
padding: 2px 6px;
|
||||
font-family: 'Monaco', 'Menlo', monospace;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #2c3e50;
|
||||
color: #ecf0f1;
|
||||
border-radius: 8px;
|
||||
padding: 20px;
|
||||
border-left: 4px solid #3498db;
|
||||
}
|
||||
|
||||
pre code {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.method {
|
||||
display: inline-block;
|
||||
padding: 4px 12px;
|
||||
border-radius: 20px;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
margin-right: 10px;
|
||||
font-size: 0.8em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.method.get { background: #27ae60; }
|
||||
.method.post { background: #f39c12; }
|
||||
.method.put { background: #e67e22; }
|
||||
.method.delete { background: #e74c3c; }
|
||||
|
||||
blockquote {
|
||||
border-left: 4px solid #3498db;
|
||||
background: #ebf3fd;
|
||||
margin: 20px 0;
|
||||
padding: 15px 20px;
|
||||
border-radius: 0 6px 6px 0;
|
||||
}</style>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-php.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-javascript.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-json.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-bash.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="markdown-content">
|
||||
<h1>Michael Schiemer API</h1>
|
||||
<p>API documentation for Michael Schiemer's custom PHP framework</p>
|
||||
<p><strong>Version:</strong> 1.0.0</p>
|
||||
<h2>Endpoints</h2>
|
||||
<h3>GET /api/users</h3>
|
||||
<p>List all users</p>
|
||||
<p>Retrieve a paginated list of all users in the system</p>
|
||||
<p><strong>Parameters:</strong></p>
|
||||
<ul>
|
||||
<li><code>page</code> (query) - Page number for pagination (optional)</li>
|
||||
<li><code>limit</code> (query) - Number of items per page (optional)</li>
|
||||
<li><code>search</code> (query) - Search term to filter users (optional)</li>
|
||||
</ul>
|
||||
<p><strong>Responses:</strong></p>
|
||||
<ul>
|
||||
<li><code>200</code> - List of users retrieved successfully</li>
|
||||
<li><code>401</code> - Unauthorized - Invalid or missing authentication token</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<h3>POST /kontakt</h3>
|
||||
<p>Submit contact form</p>
|
||||
<p>Submit a contact form message</p>
|
||||
<p><strong>Responses:</strong></p>
|
||||
<ul>
|
||||
<li><code>200</code> - Contact form submitted successfully</li>
|
||||
<li><code>400</code> - Validation error - Invalid form data</li>
|
||||
</ul>
|
||||
<hr>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user