Zum Hauptinhalt springen
POST
/
app
/
{appId}
/
preview
Preview an app without persisting changes
curl --request POST \
  --url https://demo.enneo.ai/api/mind/app/{appId}/preview \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": 123,
  "appId": "k4FqL2Hm",
  "revision": 7,
  "name": "Customer health check",
  "slug": "customer-health-check",
  "description": "<string>",
  "vendor": "<string>",
  "availability": "<string>",
  "appearance": {},
  "data": {},
  "isActive": true,
  "deletedAt": "2023-11-07T05:31:56Z",
  "createdBy": 123,
  "createdAt": "2023-11-07T05:31:56Z"
}
'
"<string>"

Documentation Index

Fetch the complete documentation index at: https://docs.enneo.ai/llms.txt

Use this file to discover all available pages before exploring further.

Autorisierungen

Authorization
string
header
erforderlich

JWT-based authentication

Pfadparameter

appId
string
erforderlich

Body

application/json
id
integer | null

Internal numeric row id of the active revision. null for previews/imports.

appId
string

Stable app identifier (nano-id). Use this in routes like /app/{appId}.

Beispiel:

"k4FqL2Hm"

revision
integer

Monotonic revision counter. Incremented on every update.

Beispiel:

7

name
string
Beispiel:

"Customer health check"

slug
string

URL-safe slug derived from name.

Beispiel:

"customer-health-check"

description
string | null
vendor
string | null

Author/team. Stored as plain text.

availability
string | null

Visibility/availability flag (see Mind/Models/App.php for the allowed values).

appearance
object

UI-level config (icon, color, layout hints).

data
object

The app body. Contains the HTML template, the executor source (Python/Node/PHP) and any static parameters. The exact shape is owned by the app author.

isActive
boolean
Beispiel:

true

deletedAt
string<date-time> | null
createdBy
integer | null

Profile id of the creating user.

createdAt
string<date-time>

Antwort

200 - text/html

Rendered HTML

The response is of type string.