Connect GET requests to exec of Pod.
For details, see Calling APIs.
GET /apis/cci/v2/namespaces/{namespace}/pods/{name}/exec
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
name |
Yes |
String |
Name of the Pod.ExecOptions |
namespace |
Yes |
String |
Object name and auth scope, such as for teams and projects. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
command |
No |
String |
|
container |
No |
String |
|
stderr |
No |
Boolean |
|
stdin |
No |
Boolean |
|
stdout |
No |
Boolean |
|
tty |
No |
Boolean |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained through the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Status code: 200
Parameter |
Type |
Description |
---|---|---|
- |
String |
None
None
Status Code |
Description |
---|---|
200 |
OK |
400 |
BadRequest |
401 |
Unauthorized |
403 |
Forbidden |
404 |
NotFound |
405 |
MethodNotAllowed |
406 |
NotAcceptable |
409 |
Conflict |
415 |
UnsupportedMediaType |
422 |
Invalid |
429 |
TooManyRequests |
500 |
InternalError |
503 |
ServiceUnavailable |
504 |
ServerTimeout |