Add search and status/role/type filters to People
Makes it practical to find people in larger orgs across GraphQL, MCP, CLI, and n8n, with page size raised to 100. Signed-off-by: Sacha Al Himdani <sacha@probo.com>
This commit is contained in:
@@ -188,6 +188,13 @@ components:
|
||||
- INACTIVE
|
||||
go.probo.inc/mcpgen/type: go.probo.inc/probo/pkg/coredata.ProfileState
|
||||
|
||||
ProfileKind:
|
||||
type: string
|
||||
enum:
|
||||
- EMPLOYEE
|
||||
- CONTRACTOR
|
||||
- SERVICE_ACCOUNT
|
||||
|
||||
ProfileSource:
|
||||
type: string
|
||||
enum:
|
||||
@@ -572,6 +579,15 @@ components:
|
||||
state:
|
||||
$ref: "#/components/schemas/ProfileState"
|
||||
description: Filter by profile state (ACTIVE or INACTIVE)
|
||||
query:
|
||||
type: string
|
||||
description: Search by full name, email address, or position
|
||||
role:
|
||||
$ref: "#/components/schemas/MembershipRole"
|
||||
description: Filter by membership role
|
||||
kind:
|
||||
$ref: "#/components/schemas/ProfileKind"
|
||||
description: Filter by profile kind
|
||||
|
||||
ListUsersOutput:
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user