Skip to content

Commit b5b927c

Browse files
Added hideAgentic and onlyAgentic to list conversations OAS
1 parent c7cb5cc commit b5b927c

File tree

2 files changed

+57
-41
lines changed

2 files changed

+57
-41
lines changed

chat-apis.json

Lines changed: 49 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,8 +1432,8 @@
14321432
"type": "object"
14331433
},
14341434
"example": {
1435-
"data": {
1436-
"0": {
1435+
"data": [
1436+
{
14371437
"guid": "project-group",
14381438
"name": "Project Group",
14391439
"description": "project related discussions between members",
@@ -1449,38 +1449,38 @@
14491449
"tags": [
14501450
"friends",
14511451
"project"
1452-
],
1453-
"0": {
1454-
"guid": "project-group-2",
1455-
"name": "Project Group 2",
1456-
"description": "project related discussions between members",
1457-
"icon": "http://placehold.it/120x120&text=image1",
1458-
"type": "public",
1459-
"scope": "admin",
1460-
"membersCount": 1,
1461-
"joinedAt": 1638440784,
1462-
"conversationId": "group_project-group",
1463-
"hasJoined": true,
1464-
"createdAt": 1638440784,
1465-
"owner": "superhero4",
1466-
"tags": [
1467-
"friends",
1468-
"project"
1469-
]
1470-
}
1452+
]
14711453
},
1472-
"meta": {
1473-
"pagination": {
1474-
"total": 0,
1475-
"count": 5,
1476-
"per_page": 100,
1477-
"current_page": 1,
1478-
"total_pages": 1
1479-
},
1480-
"cursor": {
1481-
"updatedAt": 1638354799,
1482-
"affix": "prepend"
1483-
}
1454+
{
1455+
"guid": "project-group-2",
1456+
"name": "Project Group 2",
1457+
"description": "project related discussions between members",
1458+
"icon": "http://placehold.it/120x120&text=image1",
1459+
"type": "public",
1460+
"scope": "admin",
1461+
"membersCount": 1,
1462+
"joinedAt": 1638440784,
1463+
"conversationId": "group_project-group",
1464+
"hasJoined": true,
1465+
"createdAt": 1638440784,
1466+
"owner": "superhero4",
1467+
"tags": [
1468+
"friends",
1469+
"project"
1470+
]
1471+
}
1472+
],
1473+
"meta": {
1474+
"pagination": {
1475+
"total": 0,
1476+
"count": 5,
1477+
"per_page": 100,
1478+
"current_page": 1,
1479+
"total_pages": 1
1480+
},
1481+
"cursor": {
1482+
"updatedAt": 1638354799,
1483+
"affix": "prepend"
14841484
}
14851485
}
14861486
}
@@ -3661,6 +3661,22 @@
36613661
"type": "integer",
36623662
"default": "1"
36633663
}
3664+
},
3665+
{
3666+
"name": "hideAgentic",
3667+
"in": "query",
3668+
"description": "Hides agentic conversations from the list.",
3669+
"schema": {
3670+
"type": "boolean"
3671+
}
3672+
},
3673+
{
3674+
"name": "onlyAgentic",
3675+
"in": "query",
3676+
"description": "Includes only agentic conversations in the list.",
3677+
"schema": {
3678+
"type": "boolean"
3679+
}
36643680
}
36653681
],
36663682
"responses": {

data-import-apis.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
],
5252
"properties": {
5353
"<muid>": {
54-
"description": "Wraps a single message object. The <b>&lt;muid&gt;</b> will be a primary key/unique Identifier of the message.",
54+
"description": "Wraps a single message object. The **&lt;muid&gt;** will be a primary key/unique Identifier of the message.",
5555
"required": [
5656
"muid",
5757
"sender",
@@ -61,7 +61,7 @@
6161
],
6262
"properties": {
6363
"muid": {
64-
"description": "The value should be the same as value of the placeholder <b>&lt;muid&gt;</b> which wraps the message object.",
64+
"description": "The value should be the same as value of the placeholder **&lt;muid&gt;** which wraps the message object.",
6565
"type": "string"
6666
},
6767
"sender": {
@@ -593,14 +593,14 @@
593593
],
594594
"properties": {
595595
"<uid>": {
596-
"description": "Wraps a user object. The <b>&lt;uid&gt;</b> will be a primary key/unique Identifier of the user.",
596+
"description": "Wraps a user object. The **&lt;uid&gt;** will be a primary key/unique Identifier of the user.",
597597
"required": [
598598
"uid",
599599
"name"
600600
],
601601
"properties": {
602602
"uid": {
603-
"description": "The value should be the same as value of the placeholder <b>&lt;uid&gt;</b> which wraps the user object.",
603+
"description": "The value should be the same as value of the placeholder **&lt;uid&gt;** which wraps the user object.",
604604
"type": "string"
605605
},
606606
"name": {
@@ -747,15 +747,15 @@
747747
],
748748
"properties": {
749749
"<guid>": {
750-
"description": "Wraps a group object. The <b>&lt;guid&gt;</b> will be a primary key/unique Identifier of the group.",
750+
"description": "Wraps a group object. The **&lt;guid&gt;** will be a primary key/unique Identifier of the group.",
751751
"required": [
752752
"guid",
753753
"name",
754754
"type"
755755
],
756756
"properties": {
757757
"guid": {
758-
"description": "The value should be the same as value of the placeholder <b>&lt;guid&gt;</b> which wraps the group object.",
758+
"description": "The value should be the same as value of the placeholder **&lt;guid&gt;** which wraps the group object.",
759759
"type": "string"
760760
},
761761
"name": {
@@ -947,15 +947,15 @@
947947
],
948948
"properties": {
949949
"<guid>_member_<uid>": {
950-
"description": "Wraps a single member object. The <b>&lt;guid&gt;&#95member&#95&lt;uid&gt;</b> will will be a primary key/unique Identifier of the member.",
950+
"description": "Wraps a single member object. The **&lt;guid&gt;&#95member&#95&lt;uid&gt;** will will be a primary key/unique Identifier of the member.",
951951
"required": [
952952
"memberId",
953953
"guid",
954954
"uid"
955955
],
956956
"properties": {
957957
"memberId": {
958-
"description": "The value should be the same as value of the placeholder <b>&lt;guid&gt;&#95member&#95&lt;uid&gt;</b> which wraps the member object.",
958+
"description": "The value should be the same as value of the placeholder **&lt;guid&gt;&#95member&#95&lt;uid&gt;** which wraps the member object.",
959959
"type": "string"
960960
},
961961
"guid": {

0 commit comments

Comments
 (0)