action circuitsandbox_get_directory { label: "Get the directory" description: "Get the directory by a search query in ordered way\nOauthScopes: READ_SPACE" provider: circuitsandbox method: GET path: "/spaces/directory" encoding: json input: { type: "object" properties: { filter: { type: "string" enum: ["NONE", "JOINED", "REQUESTED", "OPEN", "CLOSED", "NOT_JOINED_REQUESTED"] } numberOfResults: { type: "number" format: "int32" } pagePointer: { type: "string" } query: { type: "string" } sortBy: { type: "string" enum: ["LAST_CONTENT", "NAME", "NUMBER_OF_USERS", "CREATION_DATE"] } sortOrder: { type: "string" enum: ["ASCENDING", "DESCENDING"] } } required: ["filter", "sortBy", "sortOrder"] additionalProperties: false } output: { properties: { hasMore: { type: "boolean" description: "are more results available, than start another search" } searchPointer: { type: "string" description: "pointer for stored search " } spaces: { type: "array" description: "list of spaces" items: { properties: { accessModeType: { type: "string" description: "The name of the access mode type of the space." } creationTime: { type: "number" format: "int64" description: "The space creation time." } creatorId: { type: "string" description: "The ID of the space creator." } defaultRole: { type: "string" description: "The name of the default role of a new participant." } description: { type: "string" description: "The space description." } largePictureBase64: { type: "string" description: "Base64 encoded image that can be set during the creation and the update of a space." } largePictureContentType: { type: "string" description: "The content type of the image." } largePictureId: { type: "string" description: "The file id of the large version of the picture." } lastContentCreationTime: { type: "number" format: "int64" description: "Time stamp when the last content (topic / reply) was created within this space." } lastContentCreatorId: { type: "string" description: "User ID of the user which created the last content." } modificationTime: { type: "number" format: "int64" description: "The space modification time." } name: { type: "string" description: "The unique space name." } numberOfExternalParticipants: { type: "number" format: "int32" description: "Number of external participants in the space." } numberOfParticipants: { type: "number" format: "int32" description: "Number of participants in the space." } numberOfPinnedTopics: { type: "number" format: "int32" description: "Number of pinned topics in the space." } numberOfReplies: { type: "number" format: "int32" description: "Number of replies in the space." } numberOfTopics: { type: "number" format: "int32" description: "Number of topics in the space." } ownerId: { type: "string" description: "The ID of the space owner." } smallPictureBase64: { type: "string" description: "Base64 encoded image that can be set during the creation and the update of a space." } smallPictureContentType: { type: "string" description: "The content type of the image." } smallPictureId: { type: "string" description: "The file id of the small version of the picture." } spaceId: { type: "string" description: "The unique space ID generated by the backend during the creation of the space." } status: { type: "string" description: "The name of the status of the space." } tags: { type: "array" description: "The list of space tags." items: { type: "string" } } tenantId: { type: "string" description: "The ID of the space tenant." } type: { type: "string" description: "The name of the space type." } } } } } } }