Get the activities of a project
GET/v2/ projects/ {projectId}/ activities/
v2
GET
project-list-project-activities
Request
- projectIdstringrequired
Responses
Response headers
- X-Pagination-Limitinteger
The limit used to select the resources for the response
- X-Pagination-Skipinteger
The number of skipped items
- X-Pagination-Pagenumber
The calculate page of the list response. Refer to parameters to learn more.
- X-Pagination-TotalCountinteger
The total amount of items available in the remote ressource. Use this value in combination with the limit to calculate the available pages.
application/json
List of all activities.
- Schema documentation
- Example
- JSON Schema
- Array[
- *object
- actionrequired
- aggregateobjectrequired
- aggregatestringrequired
- domainstringrequired
- idstringrequired
- dateTimestring (date-time)required
- impersonatorobject
Null or empty object. If set, the action was executed by an mittwald employee.
- userobject
- idstringrequired
- typestring (one of: user, extension)required
]
Content-Type: application/json
[
{
"action": null,
"aggregate": {
"aggregate": "string",
"domain": "string",
"id": "string"
},
"dateTime": "1985-10-26T01:21:00.000Z",
"impersonator": {},
"user": {
"id": "string",
"type": "user"
}
}
]
{
"items": {
"properties": {
"action": {
"anyOf": [
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"domain": {
"type": "string"
}
},
"required": [
"domain"
],
"type": "object"
},
"before": {
"properties": {
"domain": {
"nullable": true,
"type": "string"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.zone-created"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"additionalProperties": false,
"type": "object"
},
"name": {
"enum": [
"dns.zone-deleted"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"cname": {
"type": "string"
}
},
"required": [
"cname"
],
"type": "object"
},
"before": {
"properties": {
"cname": {
"type": "string"
}
},
"required": [
"cname"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.cname-record-set"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"srv": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"srv"
],
"type": "object"
},
"before": {
"properties": {
"srv": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"srv"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.srv-record-set"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"caa": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"caa"
],
"type": "object"
},
"before": {
"properties": {
"caa": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"caa"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.caa-record-set"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"txt": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"txt"
],
"type": "object"
},
"before": {
"properties": {
"txt": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"txt"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.txt-record-set"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"aRecords": {
"items": {
"type": "string"
},
"type": "array"
},
"aaaaRecords": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"aRecords",
"aaaaRecords"
],
"type": "object"
},
"before": {
"properties": {
"aRecords": {
"items": {
"type": "string"
},
"type": "array"
},
"aaaaRecords": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"aRecords",
"aaaaRecords"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.a-record-set"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"mx": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"mx"
],
"type": "object"
},
"before": {
"properties": {
"mx": {
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"mx"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"dns.mx-record-set"
],
"type": "string"
},
"parameters": {
"properties": {
"domain": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"domain"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name",
"description",
"version"
],
"type": "object"
},
"before": {
"properties": {
"description": {
"nullable": true,
"type": "string"
},
"name": {
"nullable": true,
"type": "string"
},
"version": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"database.mysql-created",
"database.redis-created"
],
"type": "string"
},
"parameters": {
"properties": {
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"version": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"version"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"additionalProperties": false,
"type": "object"
},
"name": {
"enum": [
"database.mysql-deleted",
"database.redis-deleted"
],
"type": "string"
},
"parameters": {
"properties": {
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"description": {
"type": "string"
}
},
"required": [
"description"
],
"type": "object"
},
"before": {
"properties": {
"description": {
"nullable": true,
"type": "string"
}
},
"required": [
"description"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"database.mysql-description-set",
"database.redis-description-set"
],
"type": "string"
},
"parameters": {
"properties": {
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"version": {
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
},
"before": {
"properties": {
"version": {
"type": "string"
}
},
"required": [
"version"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"database.mysql-version-set",
"database.redis-version-set"
],
"type": "string"
},
"parameters": {
"properties": {
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"version": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"version"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"before": {
"properties": {
"name": {
"nullable": true,
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"database.mysql-name-set"
],
"type": "string"
},
"parameters": {
"properties": {
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"aggregate"
],
"type": "object"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"description": {
"type": "string"
},
"externalAccess": {
"type": "boolean"
},
"name": {
"type": "string"
},
"permissions": {
"type": "object"
}
},
"required": [
"name",
"description",
"externalAccess",
"permissions"
],
"type": "object"
},
"before": {
"properties": {
"description": {
"nullable": true,
"type": "string"
},
"externalAccess": {
"nullable": true,
"type": "boolean"
},
"name": {
"nullable": true,
"type": "string"
},
"permissions": {
"nullable": true,
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"database.mysql-user-created"
],
"type": "string"
},
"parameters": {
"properties": {
"databaseName": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"aggregate"
],
"type": "object"
},
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"databaseName"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"description": {
"type": "string"
},
"externalAccess": {
"type": "boolean"
},
"permissions": {
"type": "object"
}
},
"required": [
"description",
"externalAccess",
"permissions"
],
"type": "object"
},
"before": {
"properties": {
"description": {
"nullable": true,
"type": "string"
},
"externalAccess": {
"nullable": true,
"type": "boolean"
},
"permissions": {
"type": "object"
}
},
"required": [
"description",
"externalAccess",
"permissions"
],
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"database.mysql-user-updated"
],
"type": "string"
},
"parameters": {
"properties": {
"databaseName": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"aggregate"
],
"type": "object"
},
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"databaseName"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"additionalProperties": false,
"type": "object"
},
"name": {
"enum": [
"database.mysql-user-deleted"
],
"type": "string"
},
"parameters": {
"properties": {
"databaseName": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"aggregate"
],
"type": "object"
},
"name": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"name",
"databaseName"
],
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"appId": {
"type": "string"
},
"sourceAppInstallationId": {
"type": "string"
}
},
"required": [
"appId",
"sourceAppInstallationId"
],
"type": "object"
},
"before": {
"properties": {
"appId": {
"nullable": true,
"type": "string"
},
"sourceAppInstallationId": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"app.copy-requested"
],
"type": "string"
}
},
"required": [
"name",
"changes"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"appId": {
"type": "string"
},
"appVersionId": {
"type": "string"
}
},
"required": [
"appId",
"appVersionId"
],
"type": "object"
},
"before": {
"properties": {
"appId": {
"nullable": true,
"type": "string"
},
"appVersionId": {
"nullable": true,
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"app.version-set"
],
"type": "string"
}
},
"required": [
"name",
"changes"
],
"type": "object"
},
{
"properties": {
"changes": {
"properties": {
"after": {
"properties": {
"software": {
"type": "string"
},
"softwareVersion": {
"type": "string"
},
"updatePolicy": {
"enum": [
"UPDATE_POLICY_UNSPECIFIED",
"UPDATE_POLICY_NONE",
"UPDATE_POLICY_INHERITED_FROM_APP",
"UPDATE_POLICY_PATCH_LEVEL",
"UPDATE_POLICY_ALL"
],
"type": "string"
}
},
"required": [
"software",
"softwareVersion",
"updatePolicy"
],
"type": "object"
},
"before": {
"properties": {
"software": {
"type": "string"
},
"softwareVersion": {
"type": "string"
},
"updatePolicy": {
"enum": [
"UPDATE_POLICY_UNSPECIFIED",
"UPDATE_POLICY_NONE",
"UPDATE_POLICY_INHERITED_FROM_APP",
"UPDATE_POLICY_PATCH_LEVEL",
"UPDATE_POLICY_ALL"
],
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"name": {
"enum": [
"app.systemsoftware-set",
"app.systemsoftware-deleted"
],
"type": "string"
},
"parameters": {
"properties": {
"software": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"version": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
},
"required": [
"software",
"version"
],
"type": "object"
}
},
"required": [
"name",
"changes"
],
"type": "object"
},
{
"description": "Fallback when no matching action is found",
"properties": {
"changes": {
"additionalProperties": {
"properties": {
"after": {
"type": "unknown"
},
"before": {
"type": "unknown"
}
},
"type": "object"
},
"type": "object"
},
"name": {
"type": "string"
},
"parameters": {
"additionalProperties": {
"properties": {
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"name": {
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"type": "object"
}
},
"required": [
"name",
"changes",
"parameters"
],
"type": "object"
}
]
},
"aggregate": {
"properties": {
"aggregate": {
"type": "string"
},
"domain": {
"type": "string"
},
"id": {
"type": "string"
}
},
"required": [
"id",
"aggregate",
"domain"
],
"type": "object"
},
"dateTime": {
"format": "date-time",
"type": "string"
},
"impersonator": {
"description": "Null or empty object. If set, the action was executed by an mittwald employee.",
"type": "object"
},
"user": {
"properties": {
"id": {
"type": "string"
},
"type": {
"enum": [
"user",
"extension"
],
"type": "string"
}
},
"required": [
"type",
"id"
],
"type": "object"
}
},
"required": [
"action",
"dateTime",
"aggregate"
],
"type": "object"
},
"type": "array"
}
Usage examples
- cURL
- JavaScript SDK
- PHP SDK
$ curl \
--fail \
--location \
-H "Authorization: Bearer $MITTWALD_API_TOKEN" \
https://api.mittwald.de/v2/projects/string/activities?aggregateName=string&aggregateDomain=string&aggregateId=string&startTime=1985-10-26T01%3A21%3A00.000Z&endTime=1985-10-26T01%3A21%3A00.000Z&fulltextSearch=string&limit=50&page=1&sort=dateTime&order=asc
import { MittwaldAPIV2Client } from "@mittwald/api-client";
import { assertStatus } from "@mittwald/api-client-commons";
const client = MittwaldAPIClient.newWithToken(process.env.MITTWALD_API_TOKEN);
const response = await client.project.listProjectActivities({
"projectId": "string",
"queryParameters": {
"aggregateName": "string",
"aggregateDomain": "string",
"aggregateId": "string",
"startTime": "1985-10-26T01:21:00.000Z",
"endTime": "1985-10-26T01:21:00.000Z",
"fulltextSearch": "string",
"limit": 50,
"page": 1,
"sort": "dateTime",
"order": "asc"
}
});
assertStatus(response, 200);
use \Mittwald\ApiClient\Generated\V2\Clients\Project\ListProjectActivities\ListProjectActivitiesRequest;
$client = MittwaldAPIClient::newWithToken(getenv('MITTWALD_API_TOKEN'));
$request = (new ListProjectActivitiesRequest(
projectId: "string"
))
->withAggregateName("string")
->withAggregateDomain("string")
->withAggregateId("string")
->withStartTime("1985-10-26T01:21:00.000Z")
->withEndTime("1985-10-26T01:21:00.000Z")
->withFulltextSearch("string")
->withLimit(50)
->withPage(1)
->withSort("dateTime")
->withOrder("asc");
$response = $client->project()->listProjectActivities($request);
var_dump($response->getBody();