['method' => 'GET', 'path' => 'applications/{uuid}/previews/{pull_request_id}', 'ability' => 'read', 'description' => 'preview details'], 'logs' => ['method' => 'GET', 'path' => 'applications/{uuid}/previews/{pull_request_id}/logs', 'ability' => 'read:sensitive', 'description' => 'preview container logs (data: lines, show_timestamps, service_name)'], ]; } protected function pathParams(): array { return [ 'uuid' => 'Application UUID.', 'pull_request_id' => 'Pull request ID of the preview.', ]; } protected function dataDescription(): string { return 'Query fields for logs, same as the REST API: lines, show_timestamps, service_name.'; } }