Provides a proxy for Realtime Compute for Apache Flink requests.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
stream:FlinkApiProxy |
none |
*All Resource
|
None | None |
Request syntax
GET /flink-ui/v2/proxy HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace ID. |
a14bd5d90a**** |
| namespace |
string |
Yes |
The name of the namespace. |
default-namespace |
| resourceType |
string |
Yes |
The type of the resource. Valid values:
|
jobs |
| resourceId |
string |
Yes |
The resource ID. |
5a27a3aa-c5b9-4dc1-8c86-be57d2d6**** |
| flinkApiPath |
string |
Yes |
The path of the Flink UI. |
/jobs/:4df35f8e54554b23bf7dcd38a151****/config |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The return value of the Flink request. |
{ "jobs": [ { "jid": "4df35f8e54554b23bf7dcd38a15135f4", "name": "69d001d5-419a-4bfc-9c2e-849cacd31658", "state": "RUNNING", "start-time": 1659154942068, "end-time": -1, "duration": 188161756, "last-modification": 1659154968305, "tasks": { "total": 2, "created": 0, "scheduled": 0, "deploying": 0, "running": 2, "finished": 0, "canceling": 0, "canceled": 0, "failed": 0, "reconciling": 0, "initializing": 0 } } ] } |
|
| requestId |
string |
The request ID. |
CBC799F0-AS7S-1D30-8A4F-882ED4DD**** |
| httpCode |
integer |
The value was fixed to 200. |
200 |
| success |
boolean |
Indicates whether the request was successful. |
true |
| errorCode |
string |
|
"" |
| errorMessage |
string |
|
"" |
| data |
string |
|
{ "jobs": [ { "jid": "4df35f8e54554b23bf7dcd38a151****", "name": "69d001d5-419a-4bfc-9c2e-849cacd3****", "state": "RUNNING", "start-time": 1659154942068, "end-time": -1, "duration": 188161756, "last-modification": 1659154968305, "tasks": { "total": 2, "created": 0, "scheduled": 0, "deploying": 0, "running": 2, "finished": 0, "canceling": 0, "canceled": 0, "failed": 0, "reconciling": 0, "initializing": 0 } } ] } |
Examples
Success response
JSON format
{
"requestId": "CBC799F0-AS7S-1D30-8A4F-882ED4DD****",
"httpCode": 200,
"success": true,
"errorCode": "\"\"",
"errorMessage": "\"\"",
"data": "{ \"jobs\": [ { \"jid\": \"4df35f8e54554b23bf7dcd38a151****\", \"name\": \"69d001d5-419a-4bfc-9c2e-849cacd3****\", \"state\": \"RUNNING\", \"start-time\": 1659154942068, \"end-time\": -1, \"duration\": 188161756, \"last-modification\": 1659154968305, \"tasks\": { \"total\": 2, \"created\": 0, \"scheduled\": 0, \"deploying\": 0, \"running\": 2, \"finished\": 0, \"canceling\": 0, \"canceled\": 0, \"failed\": 0, \"reconciling\": 0, \"initializing\": 0 } } ] }"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.