Add optional limit and orderBy to dev api chat endpoint (#2559)

add optional limit and orderBy to dev api chat endpoint
This commit is contained in:
Sean Hatfield
2024-10-30 14:47:24 -07:00
committed by GitHub
parent ccde891aa2
commit e719d05027
2 changed files with 46 additions and 3 deletions

View File

@@ -1660,6 +1660,24 @@
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "Optional number of chat messages to return (default: 100)",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "orderBy",
"in": "query",
"description": "Optional order of chat messages (asc or desc)",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {