@ -9550,6 +9550,69 @@
}
}
} ,
"/teams/{teamId}/groups/search" : {
"get" : {
"tags" : [
"sync_team_groups" ,
"enterprise"
] ,
"summary" : "Search for team groups with optional filtering and pagination." ,
"operationId" : "searchTeamGroups" ,
"parameters" : [
{
"type" : "integer" ,
"format" : "int64" ,
"name" : "teamId" ,
"in" : "path" ,
"required" : true
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"default" : 1 ,
"name" : "page" ,
"in" : "query"
} ,
{
"type" : "integer" ,
"format" : "int64" ,
"default" : 1000 ,
"description" : "Number of items per page" ,
"name" : "perpage" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "If set it will return results where the query value is contained in the name field. Query values with spaces need to be URL encoded." ,
"name" : "query" ,
"in" : "query"
} ,
{
"type" : "string" ,
"description" : "Filter by exact name match" ,
"name" : "name" ,
"in" : "query"
}
] ,
"responses" : {
"200" : {
"$ref" : "#/responses/searchTeamGroupsResponse"
} ,
"400" : {
"$ref" : "#/responses/badRequestError"
} ,
"401" : {
"$ref" : "#/responses/unauthorisedError"
} ,
"403" : {
"$ref" : "#/responses/forbiddenError"
} ,
"500" : {
"$ref" : "#/responses/internalServerError"
}
}
}
} ,
"/teams/{team_id}" : {
"get" : {
"tags" : [
@ -20612,6 +20675,29 @@
}
}
} ,
"SearchTeamGroupsQueryResult" : {
"type" : "object" ,
"properties" : {
"page" : {
"type" : "integer" ,
"format" : "int64"
} ,
"perPage" : {
"type" : "integer" ,
"format" : "int64"
} ,
"teamGroups" : {
"type" : "array" ,
"items" : {
"$ref" : "#/definitions/TeamGroupDTO"
}
} ,
"totalCount" : {
"type" : "integer" ,
"format" : "int64"
}
}
} ,
"SearchTeamQueryResult" : {
"type" : "object" ,
"properties" : {
@ -24949,6 +25035,12 @@
"$ref" : "#/definitions/SearchResult"
}
} ,
"searchTeamGroupsResponse" : {
"description" : "(empty)" ,
"schema" : {
"$ref" : "#/definitions/SearchTeamGroupsQueryResult"
}
} ,
"searchTeamsResponse" : {
"description" : "(empty)" ,
"schema" : {