- Design
- Runner
- Customer Auth
- Utility
- Warehouse
- Store
- Document
Get Expanded Design
Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
GET
/v1/rego/designs/{id}/expand
Last modified:2024-11-26 07:12:55
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
id
stringÂ
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://preprod.api.crego.io/v1/rego/designs//expand'
Responses
🟢200Success
application/json
Body
Schema defining the configuration of a flow with stages, graph, and metadata.
id
string <uuid>
Design ID
Example:
123e4567-e89b-12d3-a456-426614174000
flow_id
string <uuid>
Flow ID
Example:
123e4567-e89b-12d3-a456-426614174001
secret_id
string <uuid>
required
is_current
booleanÂ
Is Current
Examples:
truefalse
graph
objectÂ
Flow Graph
nodes
array[object (Base Node) {5}]Â
Nodes
Examples:
node1node2node3
edges
$ref(#/definitions/4291925)[]
Edges
Examples:
edge1edge2edge3
start_node
stringÂ
Start Node
Example:
node1
store_schema
objectÂ
Schema Reference
Additional properties
integer  | number  | string  | booleanÂ
optional
created_at
string <date-time>
Created At
Example:
2024-11-27T00:00:00Z
updated_at
string <date-time> | nullÂ
Updated At
Example:
2024-11-27T01:00:00Z
updated_by
string  | nullÂ
Updated By
Match pattern:
"^[a-zA-Z0-9._-]{3,50}$"
created_by
stringÂ
Created By
Match pattern:
^[a-zA-Z0-9._-]{3,50}$
Example
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"flow_id": "123e4567-e89b-12d3-a456-426614174001",
"secret_id": "9e739c43-5a0b-4293-91b3-7c10894ec3f4",
"is_current": true,
"graph": {
"nodes": "node1",
"edges": "edge1",
"start_node": "node1"
},
"store_schema": {},
"created_at": "2024-11-27T00:00:00Z",
"updated_at": "2024-11-27T01:00:00Z",
"updated_by": "string",
"created_by": "string"
}