エッジ開発者プラットフォーム
  • エッジ画像レンダリング
    • 製品紹介
    • クイックスタート
    • 開発ガイド
      • 概要
      • 署名付き URL
      • APIで生成
    • 公開API
      • 概要
      • API 概要
      • インターフェース一覧
        • アカウント認証
        • テンプレート一覧の取得
        • テンプレート例を見る
        • 画像の署名の取得
    • 一般的な問題
このページは現在英語版のみで提供されており、日本語版も近日中に提供される予定です。ご利用いただきありがとうございます。

画像の署名の取得

Interface description

Request Domain: image.edgeone.app.
Dynamically generate a signed URL for a new image under a specified template by setting parameter variables of the user account.
Note:
1. All interfaces require ApiKey + UserId for API authentication. The API Key is your private key. Please avoid leaking the API Key when invoking the API.
2. The Params field in the request parameters needs to be formatted in JSON according to actual needs. Only key-value pairs within template configuration parameters are allowed. You can pass fewer key-values, but you cannot pass key-values outside the template configuration parameters.
3. The RequestId in the response can be used for tracing and troubleshooting issues.

URL Path

/api/v1/GetTemplateSignedUrl

Request method

POST

Request headers

Content-Type: application/json

Request parameters

Parameter Name
Type
Required
Description
ApiKey
string
Yes
User's `ApiKey`
UserId
string
Yes
User ID
Id
string
Yes
Template ID
Params
string
Yes
Template Parameters

Response data type

JSON

Sample response

{
"code": 0,
"data": {
"Response": {
"SignedUrl": "********"
}
},
"message": "ok",
"requestId": "612d593d-xxxx-xxxx-xxxx-xxxx"
}

Field description

code (int): Response status code, 0 indicates success.
data (object): Object containing the actual response data.
Response (object): Actual business response data.
SignedUrl (string): Template signature URL.
message (string): Response message.
requestId (string): Request ID.