{
"args": [
"string"
],
"command": [
"string"
],
"config_maps": [
{
"container_path": "string",
"content": "string",
"file_name": "string"
}
],
"env": [
{
"key": "string",
"value": "string"
}
],
"image": "string",
"options": [
{
"default": "string",
"disabled": true,
"env_key": "string",
"label": "string",
"random": true,
"required": true,
"rule": "paramCommon",
"type": "text",
"value": "string",
"values": [
{
"label": "string",
"value": "string"
}
]
}
],
"release_id": 0,
"resource_request": {
"min_cpu": 200,
"min_memory": 128
},
"scripts": {
"install": "string",
"install_image": "string",
"post_start": "string",
"pre_stop": "string"
},
"services": [
{
"external_port": "string",
"internal_port": "string",
"label": "string",
"name": "string",
"protocol": "tcp",
"type": "internal"
}
],
"version": "string",
"volume_mounts": [
{
"mount_content_type": "file",
"mount_path": "string",
"name": "string",
"pre_content": "string",
"sub_path": "string"
}
]
}
curl --location --request POST 'https://api.v2.rainyun.com/product/rca/appstore//release' \
--header 'x-api-key;' \
--header 'rain-dev-token: {{rain-dev-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"args": [
"string"
],
"command": [
"string"
],
"config_maps": [
{
"container_path": "string",
"content": "string",
"file_name": "string"
}
],
"env": [
{
"key": "string",
"value": "string"
}
],
"image": "string",
"options": [
{
"default": "string",
"disabled": true,
"env_key": "string",
"label": "string",
"random": true,
"required": true,
"rule": "paramCommon",
"type": "text",
"value": "string",
"values": [
{
"label": "string",
"value": "string"
}
]
}
],
"release_id": 0,
"resource_request": {
"min_cpu": 200,
"min_memory": 128
},
"scripts": {
"install": "string",
"install_image": "string",
"post_start": "string",
"pre_stop": "string"
},
"services": [
{
"external_port": "string",
"internal_port": "string",
"label": "string",
"name": "string",
"protocol": "tcp",
"type": "internal"
}
],
"version": "string",
"volume_mounts": [
{
"mount_content_type": "file",
"mount_path": "string",
"name": "string",
"pre_content": "string",
"sub_path": "string"
}
]
}'
{}