Skip to content

Commit ff3e26e

Browse files
committed
feat: improved translations in rest feature
1 parent 0ec019f commit ff3e26e

File tree

2 files changed

+119
-134
lines changed

2 files changed

+119
-134
lines changed
Lines changed: 67 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,74 +1,69 @@
11
{
2-
"identifier": "REST",
3-
"settings": [
4-
{
5-
"identifier": "HTTP_URL",
6-
"unique": "PROJECT",
7-
"dataTypeIdentifier": "HTTP_URL",
8-
"defaultValue": null,
9-
"name": [
10-
{
11-
"code": "en-US",
12-
"content": "URL"
13-
}
14-
],
15-
"description": [
16-
{
17-
"code": "en-US",
18-
"content": "Specifies the HTTP URL endpoint."
19-
}
20-
]
21-
},
22-
{
23-
"identifier": "HTTP_METHOD",
24-
"unique": "NONE",
25-
"dataTypeIdentifier": "HTTP_METHOD",
26-
"defaultValue": null,
27-
"name": [
28-
{
29-
"code": "en-US",
30-
"content": "Method"
31-
}
32-
],
33-
"description": [
34-
{
35-
"code": "en-US",
36-
"content": "Specifies the HTTP request method (e.g., GET, POST, PUT, DELETE)."
37-
}
38-
]
39-
}
40-
],
41-
"inputTypeIdentifier": "REST_ADAPTER_INPUT",
42-
"returnTypeIdentifier": "HTTP_RESPONSE",
43-
"editable": false,
44-
"name": [
45-
{
46-
"code": "en-US",
47-
"content": "Rest Endpoint"
48-
}
49-
],
50-
"description": [
51-
{
52-
"code": "en-US",
53-
"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."
54-
}
55-
],
56-
"documentation": [
57-
{
58-
"code": "en-US",
59-
"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."
60-
}
61-
],
62-
"displayMessage": [
63-
{
64-
"code": "en-US",
65-
"content": "On ${method} request to ${route}"
66-
}
67-
],
68-
"alias": [
69-
{
70-
"code": "en-US",
71-
"content": "http;rest;route;web;webhook"
72-
}
73-
]
2+
"identifier": "REST",
3+
"settings": [
4+
{
5+
"identifier": "HTTP_URL",
6+
"unique": "PROJECT",
7+
"dataTypeIdentifier": "HTTP_URL",
8+
"defaultValue": null,
9+
"name": [
10+
{
11+
"code": "en-US",
12+
"content": "URL"
13+
}
14+
],
15+
"description": [
16+
{
17+
"code": "en-US",
18+
"content": "Specifies the HTTP URL endpoint."
19+
}
20+
]
21+
},
22+
{
23+
"identifier": "HTTP_METHOD",
24+
"unique": "NONE",
25+
"dataTypeIdentifier": "HTTP_METHOD",
26+
"defaultValue": null,
27+
"name": [
28+
{
29+
"code": "en-US",
30+
"content": "Method"
31+
}
32+
],
33+
"description": [
34+
{
35+
"code": "en-US",
36+
"content": "Specifies the HTTP request method (e.g., GET, POST, PUT, DELETE)."
37+
}
38+
]
39+
}
40+
],
41+
"inputTypeIdentifier": "REST_ADAPTER_INPUT",
42+
"returnTypeIdentifier": "HTTP_RESPONSE",
43+
"editable": false,
44+
"name": [
45+
{
46+
"code": "en-US",
47+
"content": "Rest Endpoint"
48+
}
49+
],
50+
"description": [
51+
{
52+
"code": "en-US",
53+
"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."
54+
}
55+
],
56+
"documentation": [],
57+
"displayMessage": [
58+
{
59+
"code": "en-US",
60+
"content": "Trigger Rest-Flow on ${method} with a Request to ${route}"
61+
}
62+
],
63+
"alias": [
64+
{
65+
"code": "en-US",
66+
"content": "http;rest;route;web;webhook"
67+
}
68+
]
7469
}
Lines changed: 52 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,54 @@
11
{
2-
"runtimeName": "rest::control::respond",
3-
"runtimeParameterDefinitions": [
4-
{
5-
"dataTypeIdentifier": {
6-
"dataTypeIdentifier": "HTTP_RESPONSE"
7-
},
8-
"runtimeName": "http_response",
9-
"defaultValue": null,
10-
"name": [
11-
{
12-
"code": "en-US",
13-
"content": "Http Response"
14-
}
15-
],
16-
"description": [
17-
{
18-
"code": "en-US",
19-
"content": "The response object that will be returned to the client."
20-
}
21-
],
22-
"documentation": [
23-
{
24-
"code": "en-US",
25-
"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."
26-
}
27-
]
28-
}
29-
],
30-
"returnTypeIdentifier": null,
31-
"deprecationMessage": [],
32-
"name": [
33-
{
34-
"code": "en-US",
35-
"content": "Respond"
36-
}
37-
],
38-
"description": [
39-
{
40-
"code": "en-US",
41-
"content": "Handles an HTTP response object and returns it to the client."
42-
}
43-
],
44-
"documentation": [
45-
{
46-
"code": "en-US",
47-
"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."
48-
}
49-
],
50-
"alias": [
51-
{
52-
"code": "en-US",
53-
"content": "respond;control;http"
54-
}
55-
],
56-
"displayMessage": [
57-
{
58-
"code": "en-US",
59-
"content": "Apply respond to ${http_response}"
60-
}
61-
],
62-
"throwsError": false,
63-
"genericKeys": []
2+
"runtimeName": "rest::control::respond",
3+
"runtimeParameterDefinitions": [
4+
{
5+
"dataTypeIdentifier": {
6+
"dataTypeIdentifier": "HTTP_RESPONSE"
7+
},
8+
"runtimeName": "http_response",
9+
"defaultValue": null,
10+
"name": [
11+
{
12+
"code": "en-US",
13+
"content": "Http Response"
14+
}
15+
],
16+
"description": [
17+
{
18+
"code": "en-US",
19+
"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."
20+
}
21+
],
22+
"documentation": []
23+
}
24+
],
25+
"returnTypeIdentifier": null,
26+
"deprecationMessage": [],
27+
"name": [
28+
{
29+
"code": "en-US",
30+
"content": "Respond"
31+
}
32+
],
33+
"description": [
34+
{
35+
"code": "en-US",
36+
"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."
37+
}
38+
],
39+
"documentation": [],
40+
"alias": [
41+
{
42+
"code": "en-US",
43+
"content": "respond;control;http"
44+
}
45+
],
46+
"displayMessage": [
47+
{
48+
"code": "en-US",
49+
"content": "Sends ${http_response} as a Response"
50+
}
51+
],
52+
"throwsError": false,
53+
"genericKeys": []
6454
}

0 commit comments

Comments
 (0)