Skip to content

Get the page the engine builds from a revision

GET
/api/models/{id}/revisions/{number}/page
curl --request GET \
--url https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/revisions/1/page \
--header 'Authorization: Bearer <token>'

An HTML page that runs scripts, sent with a sandbox policy: opened on its own it has no access to the application’s address, storage or session.

id
required
string format: uuid
number
required
integer format: int32
/^-?(?:0|[1-9]\d*)$/

The page, a single HTML file with its scripts and styles inside it.

Media typetext/html
string

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}