deploy: 553e124f76
This commit is contained in:
@@ -837,6 +837,7 @@ for the given <code>room_id</code>.</p>
|
|||||||
"results": [
|
"results": [
|
||||||
{
|
{
|
||||||
"delete_id": "delete_id1",
|
"delete_id": "delete_id1",
|
||||||
|
"room_id": "!roomid:example.com",
|
||||||
"status": "failed",
|
"status": "failed",
|
||||||
"error": "error message",
|
"error": "error message",
|
||||||
"shutdown_room": {
|
"shutdown_room": {
|
||||||
@@ -847,6 +848,7 @@ for the given <code>room_id</code>.</p>
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"delete_id": "delete_id2",
|
"delete_id": "delete_id2",
|
||||||
|
"room_id": "!roomid:example.com",
|
||||||
"status": "purging",
|
"status": "purging",
|
||||||
"shutdown_room": {
|
"shutdown_room": {
|
||||||
"kicked_users": [
|
"kicked_users": [
|
||||||
@@ -876,6 +878,8 @@ for the given <code>room_id</code>.</p>
|
|||||||
<p>A response body like the following is returned:</p>
|
<p>A response body like the following is returned:</p>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-json">{
|
||||||
"status": "purging",
|
"status": "purging",
|
||||||
|
"delete_id": "bHkCNQpHqOaFhPtK",
|
||||||
|
"room_id": "!roomid:example.com",
|
||||||
"shutdown_room": {
|
"shutdown_room": {
|
||||||
"kicked_users": [
|
"kicked_users": [
|
||||||
"@foobar:example.com"
|
"@foobar:example.com"
|
||||||
@@ -901,7 +905,8 @@ for the given <code>room_id</code>.</p>
|
|||||||
This field is omitted from the result when you query by <code>delete_id</code>.
|
This field is omitted from the result when you query by <code>delete_id</code>.
|
||||||
Task objects contain the following fields:
|
Task objects contain the following fields:
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>delete_id</code> - The ID for this purge if you query by <code>room_id</code>.</li>
|
<li><code>delete_id</code> - The ID for this purge</li>
|
||||||
|
<li><code>room_id</code> - The ID of the room being deleted</li>
|
||||||
<li><code>status</code> - The status will be one of:
|
<li><code>status</code> - The status will be one of:
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>shutting_down</code> - The process is removing users from the room.</li>
|
<li><code>shutting_down</code> - The process is removing users from the room.</li>
|
||||||
|
|||||||
@@ -14427,6 +14427,7 @@ for the given <code>room_id</code>.</p>
|
|||||||
"results": [
|
"results": [
|
||||||
{
|
{
|
||||||
"delete_id": "delete_id1",
|
"delete_id": "delete_id1",
|
||||||
|
"room_id": "!roomid:example.com",
|
||||||
"status": "failed",
|
"status": "failed",
|
||||||
"error": "error message",
|
"error": "error message",
|
||||||
"shutdown_room": {
|
"shutdown_room": {
|
||||||
@@ -14437,6 +14438,7 @@ for the given <code>room_id</code>.</p>
|
|||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"delete_id": "delete_id2",
|
"delete_id": "delete_id2",
|
||||||
|
"room_id": "!roomid:example.com",
|
||||||
"status": "purging",
|
"status": "purging",
|
||||||
"shutdown_room": {
|
"shutdown_room": {
|
||||||
"kicked_users": [
|
"kicked_users": [
|
||||||
@@ -14466,6 +14468,8 @@ for the given <code>room_id</code>.</p>
|
|||||||
<p>A response body like the following is returned:</p>
|
<p>A response body like the following is returned:</p>
|
||||||
<pre><code class="language-json">{
|
<pre><code class="language-json">{
|
||||||
"status": "purging",
|
"status": "purging",
|
||||||
|
"delete_id": "bHkCNQpHqOaFhPtK",
|
||||||
|
"room_id": "!roomid:example.com",
|
||||||
"shutdown_room": {
|
"shutdown_room": {
|
||||||
"kicked_users": [
|
"kicked_users": [
|
||||||
"@foobar:example.com"
|
"@foobar:example.com"
|
||||||
@@ -14491,7 +14495,8 @@ for the given <code>room_id</code>.</p>
|
|||||||
This field is omitted from the result when you query by <code>delete_id</code>.
|
This field is omitted from the result when you query by <code>delete_id</code>.
|
||||||
Task objects contain the following fields:
|
Task objects contain the following fields:
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>delete_id</code> - The ID for this purge if you query by <code>room_id</code>.</li>
|
<li><code>delete_id</code> - The ID for this purge</li>
|
||||||
|
<li><code>room_id</code> - The ID of the room being deleted</li>
|
||||||
<li><code>status</code> - The status will be one of:
|
<li><code>status</code> - The status will be one of:
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>shutting_down</code> - The process is removing users from the room.</li>
|
<li><code>shutting_down</code> - The process is removing users from the room.</li>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user