Method: projects.calls.list¶
Lists the Calls of the specified project. List returns Calls sorted by create_time descending.
The caller must have voice.calls.list permission on the project.
HTTP request¶
GET https://voice.api.enfonica.com/v1beta1/{parent}/calls
Path parameters¶
| Parameters | |
|---|---|
| parent | string The resource name of the parent of which to list calls. Must be of the form projects/*. |
Query parameters¶
| Parameters | |
|---|---|
| pageSize | number (int32 format) The maximum number of Calls to return in the response. Default value of 10 and maximum value of 100. |
| pageToken | string A pagination token returned from a previous call to ListCalls that indicates where this listing should continue from. |
| filter | string Filter string to specify which results should be returned. The following fields can be filtered: - createTime - to - from - state - direction - transportFor example: createTime >= '2021-01-01T06:00:00.0Z' AND createTime < '2021-02-01' AND state = COMPLETED OR state = BUSY AND to = '+61' OR from = '+61' Note that OR has higher precendence than AND. |
Request body¶
The request body must be empty.
Response body¶
The ListCalls response call.
JSON representation
{
"calls": [
{
object (Call)
}
],
"nextPageToken": string
}| Fields | |
|---|---|
| calls[] | object (Call) A possibly paginated list of Calls that are direct descendants of the specified parent resource. |
| nextPageToken | string A pagination token returned from a previous call to ListCalls that indicates from where listing should continue. |