AgentConnect
Sessions

Resolve a shared image's original

Asks a daemon holding the session for one shared image's original: its delivery state and, when the transfer cache still holds it, a short-lived signed download URL. 409 when that daemon predates shared images; 503 when none is reachable.

POST
/v1/orgs/{orgId}/sessions/{id}/shared-images/{attachmentId}/original

授权

bearerAuth
授权Bearer <token>

位置: header

路径参数

orgId*string
id*string
attachmentId*string
匹配^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
格式uuid

响应主体

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/orgs/string/sessions/string/shared-images/497f6eca-6276-4993-bfeb-53cbbbba6f08/original"
{  "original": {    "kind": "inline"  },  "download": {    "url": "http://example.com",    "expiresAt": "2019-08-24T14:15:22Z"  }}