Skip to content

Referans SDK Control Plane

Cavanshirpro edited this page Sep 19, 2026 · 1 revision

SDK: EditorControlPlaneClient tam imzaları

English · Türkçe · Languages / Diller

Kapsam: JSON API Forge 0.5.1 · İnceleme: 17 Eylül 2026 · Dil: Türkçe

İmzalar kaynak dosyaların Python AST’sinden çıkarılmıştır; örnek olarak çalıştırılacak program değildir. self, sınıf instance’ı üzerinden çağrılırken ayrıca geçirilmez. * sonrasındaki argümanlar anahtar adıyla gönderilir. async def await edilir; dataclass alanları constructor parametrelerini de açıklar.

Control-plane SDK rehberi, HTTP endpointleri. _ControlPlaneBase altında listelenen public metotlar iki client tarafından devralınır.

Kaynak modül: json_api_forge/control_plane.py

_ControlPlaneBase

_ControlPlaneBase.has_session

@property
def has_session(self) -> bool: ...

_ControlPlaneBase.set_session_token

def set_session_token(self, token: str) -> None: ...

_ControlPlaneBase.clear_session

def clear_session(self) -> None: ...

_ControlPlaneBase.call_client_url

def call_client_url(self, call_client_path: str, ticket: str) -> str: ...

EditorControlPlaneClient

EditorControlPlaneClient.init

def __init__(self, base_url: str, *, timeout: float=15.0, max_response_bytes: int=8 * 1024 * 1024, max_attachment_bytes: int=_DEFAULT_ATTACHMENT_LIMIT, allow_insecure_http: bool=False, transport: httpx.BaseTransport | None=None): ...

EditorControlPlaneClient.setup_status

def setup_status(self) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.setup_founder

def setup_founder(self, setup_token: str, username: str, password: str, display_name: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.login

def login(self, username: str, password: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.register

def register(self, invitation: str, username: str, password: str, display_name: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.logout

def logout(self) -> ForgeResponse[Any]: ...

EditorControlPlaneClient.capabilities

def capabilities(self) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.profile

def profile(self) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.update_profile

def update_profile(self, values: Mapping[str, str]) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.projects

def projects(self) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.create_project

def create_project(self, name: str, slug: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.documents

def documents(self, project: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.document

def document(self, project: str, document: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.save_document

def save_document(self, project: str, document: str, content: str, expected_sha256: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.validate_project

def validate_project(self, project: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.roles

def roles(self) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.create_role

def create_role(self, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.update_role

def update_role(self, role_id: str, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.members

def members(self) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.update_member

def update_member(self, user_id: str, memberships: Sequence[Mapping[str, str]], *, active: bool=True) -> ForgeResponse[Any]: ...

EditorControlPlaneClient.create_invitation

def create_invitation(self, memberships: Sequence[Mapping[str, str]], *, expires_hours: int=24) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.areas

def areas(self, project: str='*') -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.create_area

def create_area(self, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.messages

def messages(self, area_id: str, *, limit: int=100) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.post_message

def post_message(self, area_id: str, body: str, *, announcement: bool=False) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.notes

def notes(self, project: str='*') -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.create_note

def create_note(self, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.database_catalog

def database_catalog(self, project: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.database_rows

def database_rows(self, project: str, alias: str, table: str, *, limit: int=100, offset: int=0) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.attachments

def attachments(self, area_id: str, *, limit: int=100) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.upload_attachment

def upload_attachment(self, area_id: str, source: str | os.PathLike[str]) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.download_attachment

def download_attachment(self, attachment_id: str, target: str | os.PathLike[str]) -> ForgeResponse[Path]: ...

EditorControlPlaneClient.start_call

def start_call(self, area_id: str, *, mode: str='video') -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.call_ticket

def call_ticket(self, call_id: str) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.audit

def audit(self, *, project: str | None=None, limit: int=100) -> ForgeResponse[JsonObject]: ...

EditorControlPlaneClient.close

def close(self) -> None: ...

EditorControlPlaneClient.enter

def __enter__(self) -> EditorControlPlaneClient: ...

EditorControlPlaneClient.exit

def __exit__(self, *_args: Any) -> None: ...

AsyncEditorControlPlaneClient

AsyncEditorControlPlaneClient.init

def __init__(self, base_url: str, *, timeout: float=15.0, max_response_bytes: int=8 * 1024 * 1024, max_attachment_bytes: int=_DEFAULT_ATTACHMENT_LIMIT, allow_insecure_http: bool=False, transport: httpx.AsyncBaseTransport | None=None): ...

AsyncEditorControlPlaneClient.setup_status

async def setup_status(self) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.setup_founder

async def setup_founder(self, setup_token: str, username: str, password: str, display_name: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.login

async def login(self, username: str, password: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.register

async def register(self, invitation: str, username: str, password: str, display_name: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.logout

async def logout(self) -> ForgeResponse[Any]: ...

AsyncEditorControlPlaneClient.capabilities

async def capabilities(self) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.profile

async def profile(self) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.update_profile

async def update_profile(self, values: Mapping[str, str]) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.projects

async def projects(self) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.create_project

async def create_project(self, name: str, slug: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.documents

async def documents(self, project: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.document

async def document(self, project: str, document: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.save_document

async def save_document(self, project: str, document: str, content: str, expected_sha256: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.validate_project

async def validate_project(self, project: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.roles

async def roles(self) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.create_role

async def create_role(self, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.update_role

async def update_role(self, role_id: str, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.members

async def members(self) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.update_member

async def update_member(self, user_id: str, memberships: Sequence[Mapping[str, str]], *, active: bool=True) -> ForgeResponse[Any]: ...

AsyncEditorControlPlaneClient.create_invitation

async def create_invitation(self, memberships: Sequence[Mapping[str, str]], *, expires_hours: int=24) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.areas

async def areas(self, project: str='*') -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.create_area

async def create_area(self, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.messages

async def messages(self, area_id: str, *, limit: int=100) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.post_message

async def post_message(self, area_id: str, body: str, *, announcement: bool=False) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.notes

async def notes(self, project: str='*') -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.create_note

async def create_note(self, values: Mapping[str, Any]) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.database_catalog

async def database_catalog(self, project: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.database_rows

async def database_rows(self, project: str, alias: str, table: str, *, limit: int=100, offset: int=0) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.attachments

async def attachments(self, area_id: str, *, limit: int=100) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.upload_attachment

async def upload_attachment(self, area_id: str, source: str | os.PathLike[str]) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.download_attachment

async def download_attachment(self, attachment_id: str, target: str | os.PathLike[str]) -> ForgeResponse[Path]: ...

AsyncEditorControlPlaneClient.start_call

async def start_call(self, area_id: str, *, mode: str='video') -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.call_ticket

async def call_ticket(self, call_id: str) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.audit

async def audit(self, *, project: str | None=None, limit: int=100) -> ForgeResponse[JsonObject]: ...

AsyncEditorControlPlaneClient.aclose

async def aclose(self) -> None: ...

AsyncEditorControlPlaneClient.aenter

async def __aenter__(self) -> AsyncEditorControlPlaneClient: ...

AsyncEditorControlPlaneClient.aexit

async def __aexit__(self, *_args: Any) -> None: ...

Kaynak ve doğrulama

Bu sayfa aşağıdaki sabit commitlerdeki davranışı açıklar. Yeni bir sürümde aynı davranışın sürdüğünü varsaymayın.


Wiki ana sayfa · Tüm sayfalar · Sürüm ve bakım

Clone this wiki locally