Skip to content
Reviactyl v26 has been released!
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Subuser Preview

Retrieves the authenticated owner's active subuser preview session status

get
Responses
200Success
application/json
or
get/subuser-preview
GET /api/client/subuser-preview HTTP/1.1
Host: reviactyl.test
Accept: */*
200Success
{
  "active": true,
  "owned_by_tab": "text",
  "session": {
    "uuid": "text",
    "server_uuid": "text",
    "server_identifier": "text",
    "server_name": "text",
    "subuser_email": "text",
    "subuser_uuid": "text",
    "permission_count": 1,
    "max_file_size": 1,
    "power_status": "text",
    "expires_at": "text"
  }
}

Ends the active subuser preview session

delete
Responses
204

No content

application/json
string[]Optional
delete/subuser-preview
DELETE /api/client/subuser-preview HTTP/1.1
Host: reviactyl.test
Accept: */*
[
  "text"
]

Refreshes the active subuser preview session

post
Responses
200Success
application/json
activebooleanRequired
post/subuser-preview/heartbeat
POST /api/client/subuser-preview/heartbeat HTTP/1.1
Host: reviactyl.test
Accept: */*
{
  "active": true,
  "session": {
    "uuid": "text",
    "server_uuid": "text",
    "server_identifier": "text",
    "server_name": "text",
    "subuser_email": "text",
    "subuser_uuid": "text",
    "permission_count": 1,
    "max_file_size": 1,
    "power_status": "text",
    "expires_at": "text"
  }
}

Starts a preview session for a server subuser

post
Path parameters
serverintegerRequired

The server whose subuser is being previewed.

userintegerRequired

The subuser to preview.

Body
replacebooleanOptionalDefault: false
Responses
201Success
application/json
activebooleanRequired
owned_by_tabbooleanRequired
tokenstringRequired
post/servers/{server}/users/{user}/preview
POST /api/client/servers/{server}/users/{user}/preview HTTP/1.1
Host: reviactyl.test
Content-Type: application/json
Accept: */*
Content-Length: 17

{
  "replace": false
}
{
  "active": true,
  "owned_by_tab": true,
  "token": "text",
  "session": {
    "uuid": "text",
    "server_uuid": "text",
    "server_identifier": "text",
    "server_name": "text",
    "subuser_email": "text",
    "subuser_uuid": "text",
    "permission_count": 1,
    "max_file_size": 1,
    "power_status": "text",
    "expires_at": "text"
  }
}

Last updated

Was this helpful?