diff --git a/VERSION b/VERSION index 8877d79..6348c0f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.10.5 \ No newline at end of file +0.10.6 \ No newline at end of file diff --git a/samples/AuditLogAPISample.yaml b/samples/AuditLogAPISample.yaml new file mode 100644 index 0000000..a644bbc --- /dev/null +++ b/samples/AuditLogAPISample.yaml @@ -0,0 +1,11 @@ +auditlogapi: + getAuditLogEvents: >- + auditlogapi->getAuditLogEvents($workspace_gid, array('param' => 'value', 'param' => 'value'), array('opt_pretty' => 'true')) diff --git a/src/Asana/Resources/Gen/AuditLogAPIBase.php b/src/Asana/Resources/Gen/AuditLogAPIBase.php new file mode 100644 index 0000000..42ad155 --- /dev/null +++ b/src/Asana/Resources/Gen/AuditLogAPIBase.php @@ -0,0 +1,27 @@ +client = $client; + } + + /** Get audit log events + * + * @param string $workspace_gid (required) Globally unique identifier for the workspace or organization. + * @param array $params + * @param array $options + * @return response + */ + public function getAuditLogEvents($workspace_gid, $params = array(), $options = array()) { + $path = "/workspaces/{workspace_gid}/audit_log_events"; + $path = str_replace("{workspace_gid}", $workspace_gid, $path); + return $this->client->getCollection($path, $params, $options); + } +}