Skip to main content

Container Plugin OpenAPI reference

Please find the sidecar OpenAPI JSON spec can be found here.

interLink sidecar (v0.0.0)

Download OpenAPI specification:Download

openapi spec for interLink apis <-> provider sidecar communication

Create Pod

Request Body schema: application/json
required
Array
required
object (PodRequest)
required
Array of objects (Container)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
{
  • "pod_uid": "string",
  • "pod_jid": "string"
}

Delete Pod

Request Body schema: application/json
required
required
object (Metadata)
required
object (PodSpec)

Responses

Request samples

Content type
application/json
{
  • "metadata": {
    },
  • "spec": {
    }
}

Response samples

Content type
application/json
"string"

Status Pod

Request Body schema: application/json
required
Array
required
object (Metadata)
required
object (PodSpec)

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Response samples

Content type
application/json
[
  • {
    }
]

Get Logs

Request Body schema: application/json
required
namespace
required
string (Namespace)
pod_uid
required
string (Pod Uid)
pod_name
required
string (Pod Name)
container_name
required
string (Container Name)
required
object (LogOpts)

Responses

Request samples

Content type
application/json
{
  • "namespace": "string",
  • "pod_uid": "string",
  • "pod_name": "string",
  • "container_name": "string",
  • "opts": {
    }
}

Response samples

Content type
application/json
{
  • "detail": [
    ]
}