Back to bricks list
Introduction
Technical Documentation
Other Classes
CommunityService
Version

CommunityService

Attributes

api_key_header_key: strapi_key_header_prefix: struser_id_header_key: str

Functions

CREATE_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
version_fileCommunityAgentFileDTO
form_dataCommunityCreateAgentDTO
Return type:
CommunityAgentVersionCreateResDTO
CREATE_COMMUNITY_AGENT_VERSION - @classmethod
Parameters:
NameTypeDefault valueDescription
version_fileCommunityAgentFileDTO
agent_idstr
Return type:
CommunityAgentVersionCreateResDTO
FORK_COMMUNITY_AGENT - @classmethod
Parameters:
NameTypeDefault valueDescription
version_fileCommunityAgentFileDTO
form_dataCommunityCreateAgentDTO
agent_version_idstr
Return type:
CommunityAgentVersionCreateResDTO
GET_COMMUNITY_AGENT - @classmethod

Get a community agent by comunity agent version id

Parameters:
NameTypeDefault valueDescription
agent_version_idstr
Return type:
CommunityAgentDTO
GET_COMMUNITY_AGENT_VERSION - @classmethod

Get a community by its id

Parameters:
NameTypeDefault valueDescription
agent_version_idstr
Return type:
CommunityAgentVersionDTO
GET_COMMUNITY_AVAILABLE_AGENTS - @classmethod
Parameters:
NameTypeDefault valueDescription
spaces_filterList
title_filterstr
personal_onlybool
pageint
number_of_items_per_pageint
Return type:
Any
GET_COMMUNITY_AVAILABLE_SPACE - @classmethod
Return type:
Any