Skip to content

Commit 70794cd

Browse files
duplicate code removed
1 parent ff387eb commit 70794cd

2 files changed

Lines changed: 6 additions & 140 deletions

File tree

calls.json

Lines changed: 6 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"Calls"
3333
],
3434
"summary": "List Calls",
35-
"description": "Retrieves all call logs for an app. The response may include participants and recordings details when available.",
35+
"description": "lists all the calls that are available in the app. It can include participants, and recordings property in the response (if present).",
3636
"operationId": "list-calls",
3737
"parameters": [
3838
{
@@ -41,28 +41,15 @@
4141
{
4242
"name": "type",
4343
"in": "query",
44-
"description": "Filter by call type. Values: voice, video.",
44+
"description": "It includes the type of the call, possible values: audio & video",
4545
"schema": {
4646
"type": "string",
4747
"enum": [
48-
"voice",
48+
"audio",
4949
"video"
5050
]
5151
}
5252
},
53-
{
54-
"name": "types",
55-
"in": "query",
56-
"description": "Filter calls by multiple types. Accepts comma-separated values or array notation. Values: voice, video.",
57-
"style": "form",
58-
"explode": false,
59-
"schema": {
60-
"type": "array",
61-
"items": {
62-
"type": "string"
63-
}
64-
}
65-
},
6653
{
6754
"name": "mode",
6855
"in": "query",
@@ -84,52 +71,27 @@
8471
"type": "integer"
8572
}
8673
},
87-
{
88-
"name": "initiatedAt",
89-
"in": "query",
90-
"description": "Filter by call initiation time. Value is a 10-digit unix timestamp. Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: initiatedAt[operator]=value.\nExample: initiatedAt[gte]=1692368168",
91-
"schema": {
92-
"type": "integer"
93-
}
94-
},
9574
{
9675
"name": "startedAt",
9776
"in": "query",
98-
"description": "Filter by call start time. Value is a 10-digit unix timestamp. Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: startedAt[operator]=value.\nExample: startedAt[gte]=1692368180",
77+
"description": "It represents when the call was started. It's 10 digit unix timestamp.",
9978
"schema": {
10079
"type": "integer"
10180
}
10281
},
10382
{
10483
"name": "status",
10584
"in": "query",
106-
"description": "Filter by call status. Values: initiated, cancelled, unanswered, rejected, busy, ongoing, ended.",
85+
"description": "It indicates the status of the call. Possible values are unanswered, rejected, ongoing, ended.",
10786
"schema": {
10887
"type": "string",
10988
"enum": [
110-
"initiated",
111-
"cancelled",
112-
"unanswered",
11389
"rejected",
114-
"busy",
11590
"ongoing",
11691
"ended"
11792
]
11893
}
11994
},
120-
{
121-
"name": "statuses",
122-
"in": "query",
123-
"description": "Filter calls by multiple statuses. Accepts comma-separated values or array notation. Values: initiated, cancelled, unanswered, rejected, busy, ongoing, ended.",
124-
"style": "form",
125-
"explode": false,
126-
"schema": {
127-
"type": "array",
128-
"items": {
129-
"type": "string"
130-
}
131-
}
132-
},
13395
{
13496
"name": "receiverType",
13597
"in": "query",
@@ -145,43 +107,11 @@
145107
{
146108
"name": "endedAt",
147109
"in": "query",
148-
"description": "Filter by call end time. Value is a 10-digit unix timestamp. Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: endedAt[operator]=value.\nExample: endedAt[lte]=1692368199",
110+
"description": "It represents when the call was ended.",
149111
"schema": {
150112
"type": "integer"
151113
}
152114
},
153-
{
154-
"name": "duration",
155-
"in": "query",
156-
"description": "Filter by total call duration in minutes (decimal). Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: duration[operator]=value.\nExample: duration[gte]=1.5",
157-
"schema": {
158-
"type": "number"
159-
}
160-
},
161-
{
162-
"name": "totalParticipants",
163-
"in": "query",
164-
"description": "Filter by the number of participants in the call (integer). Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: totalParticipants[operator]=value.\nExample: totalParticipants[gt]=2",
165-
"schema": {
166-
"type": "integer"
167-
}
168-
},
169-
{
170-
"name": "voiceMinutes",
171-
"in": "query",
172-
"description": "Filter by total audio minutes consumed in the call (decimal). Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: voiceMinutes[operator]=value.\nExample: voiceMinutes[eq]=0.75",
173-
"schema": {
174-
"type": "number"
175-
}
176-
},
177-
{
178-
"name": "videoMinutes",
179-
"in": "query",
180-
"description": "Filter by total video minutes consumed in the call (decimal). Supports bracket notation operators: eq, gt, gte, lt, lte.\nFormat: videoMinutes[operator]=value.\nExample: videoMinutes[lte]=5",
181-
"schema": {
182-
"type": "number"
183-
}
184-
},
185115
{
186116
"name": "hasRecording",
187117
"in": "query",

chat-apis.json

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -611,29 +611,13 @@
611611
"type": "integer"
612612
}
613613
},
614-
{
615-
"name": "createdAt[<operator>]",
616-
"in": "query",
617-
"description": "Filter by createdAt end timestamp. Value is a 10-digit unix timestamp. Filters records created on or before this timestamp. Can be used with createdAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** createdAt[operator]=value.\n **Example:** createdAt[to]=1739059200",
618-
"schema": {
619-
"type": "integer"
620-
}
621-
},
622614
{
623615
"name": "updatedAt[<operator>]",
624616
"in": "query",
625617
"description": "Filter by updatedAt start timestamp. Value is a 10-digit unix timestamp. Filters records updated on or after this timestamp. Can be used with updatedAt[to] for a date range.\n **Supported operators:** from, to.\n **Format:** updatedAt[operator]=value.\n **Example:** updatedAt[from]=1738368000",
626618
"schema": {
627619
"type": "integer"
628620
}
629-
},
630-
{
631-
"name": "updatedAt[<operator>]",
632-
"in": "query",
633-
"description": "Filter by updatedAt end timestamp. Value is a 10-digit unix timestamp. Filters records updated on or before this timestamp. Can be used with updatedAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** updatedAt[operator]=value.\n **Example:** updatedAt[to]=1739059200",
634-
"schema": {
635-
"type": "integer"
636-
}
637621
}
638622
],
639623
"responses": {
@@ -1472,14 +1456,6 @@
14721456
"type": "integer"
14731457
}
14741458
},
1475-
{
1476-
"name": "createdAt[<operator>]",
1477-
"in": "query",
1478-
"description": "Filter by createdAt end timestamp. Value is a 10-digit unix timestamp. Filters groups created on or before this timestamp. Can be used with createdAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** createdAt[operator]=value.\n **Example:** createdAt[to]=1739059200",
1479-
"schema": {
1480-
"type": "integer"
1481-
}
1482-
},
14831459
{
14841460
"name": "updatedAt[<operator>]",
14851461
"in": "query",
@@ -1488,14 +1464,6 @@
14881464
"type": "integer"
14891465
}
14901466
},
1491-
{
1492-
"name": "updatedAt[<operator>]",
1493-
"in": "query",
1494-
"description": "Filter by updatedAt end timestamp. Value is a 10-digit unix timestamp. Filters groups updated on or before this timestamp. Can be used with updatedAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** updatedAt[operator]=value.\n **Example:** updatedAt[to]=1739059200",
1495-
"schema": {
1496-
"type": "integer"
1497-
}
1498-
},
14991467
{
15001468
"name": "membersCount[<operator>]",
15011469
"in": "query",
@@ -2158,22 +2126,6 @@
21582126
"type": "integer"
21592127
}
21602128
},
2161-
{
2162-
"name": "sentAt[<operator>]",
2163-
"in": "query",
2164-
"description": "Filter by sentAt start timestamp. Value is a 10-digit unix timestamp. Filters messages sent on or after this timestamp. Can be used with sentAt[to] for a date range.\n **Supported operators:** from, to.\n **Format:** sentAt[operator]=value.\n **Example:** sentAt[from]=1738368000",
2165-
"schema": {
2166-
"type": "integer"
2167-
}
2168-
},
2169-
{
2170-
"name": "sentAt[<operator>]",
2171-
"in": "query",
2172-
"description": "Filter by sentAt end timestamp. Value is a 10-digit unix timestamp. Filters\nmessages sent on or before this timestamp. Can be used with sentAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** sentAt[operator]=value.\n **Example:** sentAt[to]=1739059200",
2173-
"schema": {
2174-
"type": "integer"
2175-
}
2176-
},
21772129
{
21782130
"name": "updatedAt[<operator>]",
21792131
"in": "query",
@@ -2182,14 +2134,6 @@
21822134
"type": "integer"
21832135
}
21842136
},
2185-
{
2186-
"name": "updatedAt[<operator>]",
2187-
"in": "query",
2188-
"description": "Filter by updatedAt end timestamp. Value is a 10-digit unix timestamp. Filters messages updated on or before this timestamp. Can be used with updatedAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** updatedAt[operator]=value.\n **Example:** updatedAt[to]=1739059200",
2189-
"schema": {
2190-
"type": "integer"
2191-
}
2192-
},
21932137
{
21942138
"name": "editedAt[<operator>]",
21952139
"in": "query",
@@ -2198,14 +2142,6 @@
21982142
"type": "integer"
21992143
}
22002144
},
2201-
{
2202-
"name": "editedAt[<operator>]",
2203-
"in": "query",
2204-
"description": "Filter by editedAt end timestamp. Value is a 10-digit unix timestamp. Filters messages edited on or before this timestamp. Can be used with editedAt[from] for a date range.\n **Supported operators:** from, to.\n **Format:** editedAt[operator]=value.\n **Example:** editedAt[to]=1739059200",
2205-
"schema": {
2206-
"type": "integer"
2207-
}
2208-
},
22092145
{
22102146
"name": "limit",
22112147
"in": "query",

0 commit comments

Comments
 (0)