action cpy_list_registrations { label: "List registrations" provider: cpy method: GET path: "/api/v1/users/registrations" encoding: json input: { type: "object" properties: { search: { type: "string" } sort: { type: "string" enum: ["-createdAt", "createdAt", "state", "-state"] } } additionalProperties: false } output: { type: "object" properties: { data: { type: "array" items: { properties: { accountDisplayName: { type: "string" } channelDisplayName: { type: "string" } channelHandle: { type: "string" } createdAt: { type: "string" format: "date-time" } email: { type: "string" format: "email" } emailVerified: { type: "boolean" } id: { type: "integer" } moderationResponse: { type: "string" } registrationReason: { type: "string" } state: { type: "object" properties: { id: { type: "integer" description: "The registration state (Pending = `1`, Rejected = `2`, Accepted = `3`)" enum: [1, 2, 3] } label: { type: "string" } } } updatedAt: { type: "string" format: "date-time" } user: { type: "object" description: "If the registration has been accepted, this is a partial user object created by the registration" properties: { id: { type: "object" additionalProperties: true } } } username: { type: "string" } } } } total: { type: "integer" } } } }