Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Mention wildcards under Realtime channels #379

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions app/views/docs/realtime.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ subscription.close()</code></pre>

<h2><a href="/docs/realtime#channels" id="channels">Channels</a></h2>

<p>A list of all channels available you can subscribe to:</p>
<p>
You can subscribe to changes in a specific area of Appwrite by subscribing to channels. You can subscribe to specific resources by replacing <code>[ID]</code> with the desired resource's ID or subscribe to all resources of the same type with the wildcard character <code>*</code>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wildcards aren't allowed for channels.

</p>

<table class="full text-size-small">
<thead>
Expand All @@ -514,9 +516,9 @@ subscription.close()</code></pre>

<h2><a href="/docs/realtime#custom-endpoint" id="custom-endpoint">Custom Endpoint</a></h2>

<p>The SDK will guess the endpoint of the Realtime API when setting the endpoint of your Appwrite instance. If you are running Appwrite with a custom proxy and changed the route of the Realtime API, you can call the <b>setEndpointRealtime</b> method on the Client SDK and set your new endpoint value.</p>
<p>The SDK will guess the endpoint of the Realtime API when setting the endpoint of your Appwrite instance. If you are running Appwrite with a custom proxy and changed the route of the Realtime API, you can call the <code>setEndpointRealtime</code> method on the Client SDK and set your new endpoint value.</p>

<p>By default the endpoint is <b>wss://cloud.appwrite.io/v1/realtime</b>.</p>
<p>By default the endpoint is <code>wss://cloud.appwrite.io/v1/realtime</code>.</p>

<ul class="phases clear" data-ui-phases>
<li>
Expand Down