---
title: "云市分享"
method: POST
path: "/v2/tenants/{tenant_name}/cloud-share"
tags: ["v2"]
---

# 云市分享

`POST /v2/tenants/{tenant_name}/cloud-share`

share cloud

## Path parameters

- `tenant_name` string, required

## Request body

- object
  - `Image` ImageShare — ImageShare image 类型
    - `action` string
    - `app_version` string
    - `dest` string
    - `event_id` string
    - `image` string
    - `is_outer` boolean
    - `service_key` string
    - `share_id` string
  - `Slug` SlugShare — SlugShare Slug 类型
    - `action` string
    - `app_version` string
    - `deploy_version` string
    - `dest` string
    - `event_id` string
    - `is_outer` boolean
    - `service_id` string
    - `service_key` string
    - `share_id` string
    - `tenant_id` string
  - `kind` string, required — 分享类型，app_slug／app_image in: body

## Response `default`

统一返回格式

- CommandResponse — unresolved $ref

## Changes

- **2017-11-07** `5e3ca7f5dfc5` — 1 info
  - endpoint added
- **2017-11-07** `7b547fba71aa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/goodrain/apis/untitled-api/changes/v2/tenants/:tenant_name/cloud-share/post.md)

---

[API](https://skmtc.dev/goodrain/apis/untitled-api.md) · [All operations](https://skmtc.dev/goodrain/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goodrain/untitled-api/revisions/8c773e222448/schema)
