--- /dev/null
+<?php
+/*
+ +--------------------------------------------------------------------+
+ | CiviCRM version 4.6 |
+ +--------------------------------------------------------------------+
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+ +--------------------------------------------------------------------+
+ | This file is a part of CiviCRM. |
+ | |
+ | CiviCRM is free software; you can copy, modify, and distribute it |
+ | under the terms of the GNU Affero General Public License |
+ | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
+ | |
+ | CiviCRM is distributed in the hope that it will be useful, but |
+ | WITHOUT ANY WARRANTY; without even the implied warranty of |
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
+ | See the GNU Affero General Public License for more details. |
+ | |
+ | You should have received a copy of the GNU Affero General Public |
+ | License and the CiviCRM Licensing Exception along |
+ | with this program; if not, contact CiviCRM LLC |
+ | at info[AT]civicrm[DOT]org. If you have questions about the |
+ | GNU Affero General Public License or the licensing of CiviCRM, |
+ | see the CiviCRM license FAQ at http://civicrm.org/licensing |
+ +--------------------------------------------------------------------+
+ */
+
+/**
+ * Retrieve one or more job log record.
+ *
+ * @param array $params
+ * input parameters
+ *
+ * @return array
+ */
+function civicrm_api3_job_log_get($params) {
+ return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
+}
<name>id</name>
<type>int unsigned</type>
<required>true</required>
+ <title>Job Log ID</title>
<comment>Job log entry Id</comment>
<add>4.1</add>
</field>
</primaryKey>
<field>
<name>domain_id</name>
+ <title>Domain ID</title>
<type>int unsigned</type>
<required>true</required>
<pseudoconstant>
<field>
<name>run_time</name>
<type>timestamp</type>
+ <title>Timestamp</title>
<comment>Log entry date</comment>
<add>4.1</add>
</field>
<field>
<name>job_id</name>
+ <title>Job ID</title>
<type>int unsigned</type>
<comment>Pointer to job id - not a FK though, just for logging purposes</comment>
<add>4.1</add>
</field>
<field>
<name>name</name>
+ <title>Job Name</title>
<type>varchar</type>
<length>255</length>
<comment>Title of the job</comment>
</field>
<field>
<name>command</name>
+ <title>Command</title>
<type>varchar</type>
<length>255</length>
<comment>Full path to file containing job script</comment>
</field>
<field>
<name>description</name>
+ <title>Description</title>
<type>varchar</type>
<length>255</length>
<comment>Title line of log entry</comment>
</field>
<field>
<name>data</name>
+ <title>Extended Data</title>
<type>text</type>
<comment>Potential extended data for specific job run (e.g. tracebacks).</comment>
<add>4.1</add>