-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhttp_response_create.proto.json
More file actions
90 lines (90 loc) · 2.11 KB
/
Copy pathhttp_response_create.proto.json
File metadata and controls
90 lines (90 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"runtimeName": "http::response::create",
"runtimeParameterDefinitions": [
{
"runtimeName": "http_status_code",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "HTTP Status Code"
}
],
"description": [
{
"code": "en-US",
"content": "An HTTP status code is a three-digit number (100–599) indicating the result of a request (e.g., 200, 404, 500)."
}
],
"documentation": []
},
{
"runtimeName": "headers",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "HTTP Headers"
}
],
"description": [
{
"code": "en-US",
"content": "A collection of key-value pairs containing additional response metadata."
}
],
"documentation": []
},
{
"runtimeName": "payload",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Request Body"
}
],
"description": [
{
"code": "en-US",
"content": "Contains the response payload, such as JSON, XML, form data, or binary content, depending on the Content-Type header."
}
],
"documentation": []
}
],
"throwsError": false,
"name": [
{
"code": "en-US",
"content": "Create HTTP-Response"
}
],
"description": [
{
"code": "en-US",
"content": "Creates an HTTP-Response object with the specified method, headers and payload."
}
],
"documentation": [],
"alias": [
{
"code": "en-US",
"content": "create;response;http"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "Create Http-Response with Method: ${http_method}, Headers: ${headers} and Payload: ${payload}"
}
],
"deprecationMessage": [],
"displayIcon": "tabler:world-www",
"signature": "<T>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, payload: T): HTTP_RESPONSE<T>",
"linkedDataTypeIdentifiers": [
"HTTP_STATUS_CODE",
"OBJECT",
"HTTP_RESPONSE"
]
}