You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clamp log line counts, parse timestamp flags consistently, and filter
service subcontainers by Coolify labels. Document log endpoint timestamp
parameters and database/service log routes in OpenAPI.
Copy file name to clipboardExpand all lines: app/Http/Controllers/Api/ServicesController.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -733,7 +733,7 @@ public function service_by_uuid(Request $request)
733
733
734
734
#[OA\Get(
735
735
summary: 'Get service logs.',
736
-
description: 'Get service logs by UUID.',
736
+
description: 'Get logs for a specific service sub-resource by service UUID. The `sub_service_name` query parameter must match the `name` field of one of the service applications or databases returned by `GET /services/{uuid}`.',
737
737
path: '/services/{uuid}/logs',
738
738
operationId: 'get-service-logs-by-uuid',
739
739
security: [
@@ -754,9 +754,9 @@ public function service_by_uuid(Request $request)
754
754
newOA\Parameter(
755
755
name: 'sub_service_name',
756
756
in: 'query',
757
-
description: 'Subservice name.',
757
+
description: 'Sub-service name from `GET /services/{uuid}` under `applications[].name` or `databases[].name`. Do not use `human_name` or the Docker container name with the service UUID suffix.',
"description": "Get logs for a specific service sub-resource by service UUID. The `sub_service_name` query parameter must match the `name` field of one of the service applications or databases returned by `GET \/services\/{uuid}`.",
11387
+
"operationId": "get-service-logs-by-uuid",
11388
+
"parameters": [
11389
+
{
11390
+
"name": "uuid",
11391
+
"in": "path",
11392
+
"description": "UUID of the service.",
11393
+
"required": true,
11394
+
"schema": {
11395
+
"type": "string",
11396
+
"format": "uuid"
11397
+
}
11398
+
},
11399
+
{
11400
+
"name": "sub_service_name",
11401
+
"in": "query",
11402
+
"description": "Sub-service name from `GET \/services\/{uuid}` under `applications[].name` or `databases[].name`. Do not use `human_name` or the Docker container name with the service UUID suffix.",
11403
+
"required": true,
11404
+
"schema": {
11405
+
"type": "string",
11406
+
"example": "appwrite-console"
11407
+
}
11408
+
},
11409
+
{
11410
+
"name": "lines",
11411
+
"in": "query",
11412
+
"description": "Number of lines to show from the end of the logs.",
0 commit comments