Processes
Processes: 7 operations, tagged processes in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/processes |
List processes |
POST |
/api/processes |
Create a process |
GET |
/api/processes/by-code/{code} |
Get a process by code |
GET |
/api/processes/{id} |
Get a process by id |
PUT |
/api/processes/{id} |
Update a process |
DELETE |
/api/processes/{id} |
Delete a process |
POST |
/api/processes/{id}/archive |
Archive a process |
Operations
Section titled “Operations”GET /api/processes
Section titled “GET /api/processes”List processes
Operation ID: listProcesses
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
application |
query | string | no | |
subdomain |
query | string | no | |
status |
query | string | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ProcessListResponse |
default |
Error | application/json ErrorModel |
POST /api/processes
Section titled “POST /api/processes”Create a process
Operation ID: createProcess
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateProcessRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
GET /api/processes/by-code/{code}
Section titled “GET /api/processes/by-code/{code}”Get a process by code
Operation ID: getProcessByCode
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
code |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ProcessResponse |
default |
Error | application/json ErrorModel |
GET /api/processes/{id}
Section titled “GET /api/processes/{id}”Get a process by id
Operation ID: getProcess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json ProcessResponse |
default |
Error | application/json ErrorModel |
PUT /api/processes/{id}
Section titled “PUT /api/processes/{id}”Update a process
Operation ID: updateProcess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateProcessRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
DELETE /api/processes/{id}
Section titled “DELETE /api/processes/{id}”Delete a process
Operation ID: deleteProcess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/processes/{id}/archive
Section titled “POST /api/processes/{id}/archive”Archive a process
Operation ID: archiveProcess
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
CreateProcessRequest
Section titled “CreateProcessRequest”| Field | Type | Required | Description |
|---|---|---|---|
body |
string | no | Process documentation body |
code |
string | yes | Process code in application:subdomain:name format |
description |
string | no | |
diagramType |
string | no | Diagram syntax (e.g. mermaid) |
name |
string | yes | |
tags |
string[] | no |
ProcessListResponse
Section titled “ProcessListResponse”| Field | Type | Required | Description |
|---|---|---|---|
items |
ProcessResponse[] |
yes |
ProcessResponse
Section titled “ProcessResponse”| Field | Type | Required | Description |
|---|---|---|---|
application |
string | yes | |
body |
string | yes | |
code |
string | yes | |
createdAt |
string (date-time) | yes | |
createdBy |
string | no | |
description |
string | no | |
diagramType |
string | yes | |
id |
string | yes | |
name |
string | yes | |
processName |
string | yes | |
source |
string | yes | |
status |
string | yes | |
subdomain |
string | yes | |
tags |
string[] | yes | |
updatedAt |
string (date-time) | yes |
UpdateProcessRequest
Section titled “UpdateProcessRequest”| Field | Type | Required | Description |
|---|---|---|---|
body |
string | no | |
description |
string | no | |
diagramType |
string | no | |
name |
string | no | |
tags |
string[] | no |