List the engine's example models
GET
/api/drafts/examples
const url = 'https://forge.example.com/api/drafts/examples';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://forge.example.com/api/drafts/examples \ --header 'Authorization: Bearer <token>'The example models the pinned engine ships, to start a draft by hand from: each with its name, title, description, how many diagrams it has in tabs (0 for one), and how many zones, nodes, flows, threats and controls it holds. Start one with POST /api/drafts and byHand and example set to its name: the draft begins as the example with your name for its title and you as its author.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”OK
default
Section titled “default”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"}