Skip to content

List the engine's example models

GET
/api/drafts/examples
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.

OK

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"
}