https://easyt.ioBuild downloads with EasyT
This EasyT reference is an implementation guide rather than an active anonymous endpoint. Production access begins only after support approves the client and assigns limits.
クイックスタート
API host begins with support-activated credentials on EasyT. This guided check then presents an assigned tenant endpoint. The final fact is a server-only call path.
X-API-Key: pending_activation_…EasytWorkspacev1# Available only after support activation
export EASYT_WORKSPACE_TOKEN="issued-after-review"
curl -X POST https://easyt.io/v1/resolve \
-H "X-API-Key: $EASYT_WORKSPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"input_url":"https://www.youtube.com/watch?v=VIDEO_ID"}'In EasyT, server-side secret storage comes first when explaining Credential safety. That guided check follows with no client bundle embedding and closes on no public logs or repositories.
リンクを解決する
Resolve operation begins with source detection on EasyT. This guided check then presents formats from one submitted URL. The final fact is no invented outputs.
/v1/resolve範囲:解決| フィールド | タイプ | 必須 | 説明 |
|---|---|---|---|
input_url | HTTPS URL | はい | 分析する公開または認可されたメディアページ。 |
tenant | 文字列 | いいえ | 割り当てられたテナント ドメイン 通常は省略されます。 |
{
"success": true,
"platform": "youtube",
"title": "Example video",
"formats": [
{"id":"18","type":"video","quality":"360p","container":"mp4"}
],
"cached": false
}In EasyT, the returned value unchanged comes first when explaining Format identifier. That guided check follows with per-link availability and closes on no guessed quality label.
ダウンロードジョブを作成して追跡する
Asynchronous preparation is the starting point for Job creation on EasyT. A guided check then presents a short HTTP request and explains bounded worker execution.
/v1/jobs範囲:仕事| フィールド | タイプ | 必須 | 説明 |
|---|---|---|---|
input_url | HTTPS URL | はい | 解決するために提出された同じ正規化されたソース。 |
stream_choice | 文字列 | はい | 解決応答からの正確な ID。 |
tenant | 文字列 | いいえ | 割り当てられたテナント ドメイン 通常は省略されます。 |
curl -X POST https://easyt.io/v1/jobs \
-H "X-API-Key: $EASYT_WORKSPACE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"input_url":"https://www.youtube.com/watch?v=VIDEO_ID","stream_choice":"18"}'workspace_job.GET /v1/jobs/{workspace_job} with the same key.| ステータス | 意味 | クライアントアクション |
|---|---|---|
queued | 制限付きキューに受け入れられました。 | バックオフで再度ポールします。 |
extracting | ソースメタデータまたはルートを更新しています。 | 投票を続けてください。 |
processing | ダウンロード、リマスタリングまたはマージ。 | サーバの進<0xE6><0x8D><0x97>を表示します。 |
ready | 署名付きダウンロードが利用可能です。 | URL をユーザーに送信します。 |
failed | ターミナル構造化エラー。 | Read error_code. Retry only when advised. |
expired | 一時的な出力は削除された。 | 新しいジョブを作成します。 |
curl https://easyt.io/v1/jobs/WORKSPACE_JOB \
-H "X-API-Key: $EASYT_WORKSPACE_TOKEN"For Job polling, EasyT begins with one-second initial wait. Its guided check pairs that with capped backoff and ends with temporary signed delivery.
予測可能な誤り
EasyT makes Error contract easy to scan. The page starts with one non-2xx envelope, moves to a support request ID, and clearly states predictable client handling.
{
"success": false,
"error": {
"code": "RATE_LIMITED",
"category": "rate_limited",
"message": "Too many requests. Please try again shortly.",
"retryable": true,
"details": {"retry_after_seconds": 20}
},
"request_id": "…"
}| 超高速トランザクション処理 | 典型的な意味 | アクション |
|---|---|---|
| 400 | 無効な URL、本体または利用できないフォーマット。 | リクエストを修正します。フォーマットについて再度解決します。 |
| 401 | 欠落、無効、有効期限切れ、またはスコープの間違ったキー。 | サーバ側の認証情報を確認します。 |
| 403 | テナントまたはソースポリシーが要求を拒否しました。 | ポリシーをバイパスしないでください サポートに連絡してください。 |
| 404 | 未知または期限切れのジョブ。 | 適切な場合は新しいジョブを作成します。 |
| 429 | リクエストまたはアクティブジョブの制限に達しました。 | Honor retry_after_seconds. |
| 503 | キュー/容量または上流が一時的に利用できません。 | 指数関数的なバックオフとジッターで再試行します。 |
運用契約
EasyT selects an operating allowance during review, balancing the application's needs with provider health.
- idempotent アプリケーションロジックを使用し、同じユーザークリックに対して重複ジョブを開始しないでください。
- キャッシュはメタデータを簡単に解決しますが、署名されたダウンロード URL は常に有効期限切れとみなします。
- Use bounded exponential backoff with jitter for
429,503and retryable errors. - パブリックメディアまたはアクセス権限があるメディアのみを処理します。DRMやアクセス制御はバイパスされません。
- リクエスト ID とジョブ ID をプライベートの操作ログに保持します。送信された URL を不必要にログに記録しないでください。
Schema access begins with activation before exploration on EasyT. This guided check then presents assigned authentication. The final fact is documented request shapes.
Activate through support
Include the client purpose, expected monthly workload and requested networks in the activation note. EasyT can then choose resolve and job scopes correctly before producing a one-view secret.
Request activation キーはテナントスコープであり、撤回可能であり、コンタクトフォームを通じて発行されます。 匿名スクリプトはダウンロードアーの作業を実行できません。