Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
139 changes: 67 additions & 72 deletions definitions/rest/flow_type/rest.proto.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,69 @@
{
"identifier": "REST",
"settings": [
{
"identifier": "HTTP_URL",
"unique": "PROJECT",
"dataTypeIdentifier": "HTTP_URL",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "URL"
}
],
"description": [
{
"code": "en-US",
"content": "Specifies the HTTP URL endpoint."
}
]
},
{
"identifier": "HTTP_METHOD",
"unique": "NONE",
"dataTypeIdentifier": "HTTP_METHOD",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Method"
}
],
"description": [
{
"code": "en-US",
"content": "Specifies the HTTP request method (e.g., GET, POST, PUT, DELETE)."
}
]
}
],
"inputTypeIdentifier": "REST_ADAPTER_INPUT",
"returnTypeIdentifier": "HTTP_RESPONSE",
"editable": false,
"name": [
{
"code": "en-US",
"content": "Rest Endpoint"
}
],
"description": [
{
"code": "en-US",
"content": "A REST API is a web service that lets clients interact with data on a server using standard HTTP methods like GET, POST, PUT, and DELETE usually returning results in JSON format."
}
],
"documentation": [
{
"code": "en-US",
"content": "A REST API is a web service that lets clients interact with data on a server using standard HTTP methods like GET, POST, PUT, and DELETE usually returning results in JSON format."
}
],
"displayMessage": [
{
"code": "en-US",
"content": "On ${method} request to ${route}"
}
],
"alias": [
{
"code": "en-US",
"content": "http;rest;route;web;webhook"
}
]
"identifier": "REST",
"settings": [
{
"identifier": "HTTP_URL",
"unique": "PROJECT",
"dataTypeIdentifier": "HTTP_URL",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "URL"
}
],
"description": [
{
"code": "en-US",
"content": "Specifies the HTTP URL endpoint."
}
]
},
{
"identifier": "HTTP_METHOD",
"unique": "NONE",
"dataTypeIdentifier": "HTTP_METHOD",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Method"
}
],
"description": [
{
"code": "en-US",
"content": "Specifies the HTTP request method (e.g., GET, POST, PUT, DELETE)."
}
]
}
],
"inputTypeIdentifier": "REST_ADAPTER_INPUT",
"returnTypeIdentifier": "HTTP_RESPONSE",
"editable": false,
"name": [
{
"code": "en-US",
"content": "Rest Endpoint"
}
],
"description": [
{
"code": "en-US",
"content": "A REST API is a web service that lets clients interact with data on a server using standard HTTP methods like GET, POST, PUT, and DELETE usually returning results in JSON format."
}
],
"documentation": [],
"displayMessage": [
{
"code": "en-US",
"content": "Trigger Rest-Flow on ${method} with a Request to ${route}"
}
],
"alias": [
{
"code": "en-US",
"content": "http;rest;route;web;webhook"
}
]
}
114 changes: 52 additions & 62 deletions definitions/rest/runtime_definition/rest_control_respond.proto.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,54 @@
{
"runtimeName": "rest::control::respond",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "HTTP_RESPONSE"
},
"runtimeName": "http_response",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Http Response"
}
],
"description": [
{
"code": "en-US",
"content": "The response object that will be returned to the client."
}
],
"documentation": [
{
"code": "en-US",
"content": "Takes an HTTP response object and transmits it to the requesting client. This parameter represents the final output of the server, including headers, status code, and body content."
}
]
}
],
"returnTypeIdentifier": null,
"deprecationMessage": [],
"name": [
{
"code": "en-US",
"content": "Respond"
}
],
"description": [
{
"code": "en-US",
"content": "Handles an HTTP response object and returns it to the client."
}
],
"documentation": [
{
"code": "en-US",
"content": "Processes an HTTP response and returns it to the requesting client. This function typically completes the HTTP request–response cycle by delivering the server’s final output, such as headers, status codes, and body content, back to the client."
}
],
"alias": [
{
"code": "en-US",
"content": "respond;control;http"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "Apply respond to ${http_response}"
}
],
"throwsError": false,
"genericKeys": []
"runtimeName": "rest::control::respond",
"runtimeParameterDefinitions": [
{
"dataTypeIdentifier": {
"dataTypeIdentifier": "HTTP_RESPONSE"
},
"runtimeName": "http_response",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Http Response"
}
],
"description": [
{
"code": "en-US",
"content": "Takes an HTTP response object and transmits it to the requesting client. This parameter represents the final output of the server, including headers, status code, and body content."
}
],
"documentation": []
}
],
"returnTypeIdentifier": null,
"deprecationMessage": [],
"name": [
{
"code": "en-US",
"content": "Respond"
}
],
"description": [
{
"code": "en-US",
"content": "Processes an HTTP response and returns it to the requesting client. This function typically completes the HTTP request–response cycle by delivering the server’s final output, such as headers, status codes, and body content, back to the client."
}
],
"documentation": [],
"alias": [
{
"code": "en-US",
"content": "respond;control;http"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "Sends ${http_response} as a Response"
}
],
"throwsError": false,
"genericKeys": []
}
40 changes: 20 additions & 20 deletions definitions/standard/data_type/array/list.proto.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"variant": "ARRAY",
"identifier": "LIST",
"name": [
{
"code": "en-US",
"content": "Generic List"
}
],
"variant": "ARRAY",
"identifier": "LIST",
"name": [
{
"code": "en-US",
"content": "Generic List"
}
],
"alias": [
{
"code": "en-US",
Expand All @@ -19,16 +19,16 @@
"content": "List of ${T}"
}
],
"rules": [
{
"containsType": {
"dataTypeIdentifier": {
"genericKey": "T"
}
}
}
],
"genericKeys": [
"T"
]
"rules": [
{
"containsType": {
"dataTypeIdentifier": {
"genericKey": "T"
}
}
}
],
"genericKeys": [
"T"
]
}
76 changes: 38 additions & 38 deletions definitions/standard/data_type/node/comparator.proto.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"variant": "NODE",
"identifier": "COMPARATOR",
"name": [
{
"code": "en-US",
"content": "Comparator"
}
],
"variant": "NODE",
"identifier": "COMPARATOR",
"name": [
{
"code": "en-US",
"content": "Comparator"
}
],
"alias": [
{
"code": "en-US",
Expand All @@ -19,34 +19,34 @@
"content": "Compare ${I}"
}
],
"rules": [
{
"returnType": {
"dataTypeIdentifier": {
"dataTypeIdentifier": "NUMBER"
}
}
},
{
"inputTypes": {
"inputTypes": [
{
"dataTypeIdentifier": {
"genericKey": "I"
},
"inputIdentifier": "left"
},
{
"dataTypeIdentifier": {
"genericKey": "I"
},
"inputIdentifier": "right"
}
]
}
}
],
"genericKeys": [
"I"
]
"rules": [
{
"returnType": {
"dataTypeIdentifier": {
"dataTypeIdentifier": "NUMBER"
}
}
},
{
"inputTypes": {
"inputTypes": [
{
"dataTypeIdentifier": {
"genericKey": "I"
},
"inputIdentifier": "left"
},
{
"dataTypeIdentifier": {
"genericKey": "I"
},
"inputIdentifier": "right"
}
]
}
}
],
"genericKeys": [
"I"
]
}
Loading