立即开始
Vercel Tools

Vercel Add Project Domain

通过 Aident Loadout 使用 Vercel Tools 的 Vercel Add Project Domain。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5API 密钥连接

服务提供商说明

Tool to attach a custom domain to a Vercel project. Use when you need to add a domain to a project for production or branch-specific deployments. After adding, the domain must be verified by completing the verification challenges returned in the response.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • namestring
    必填
    The domain name to add to the project (e.g., 'www.example.com', 'app.mydomain.com')
  • slugstring
    Team slug to perform the request on behalf of
  • teamIdstring
    Team identifier to perform the request on behalf of
  • idOrNamestring
    必填
    The unique project identifier or project name
  • redirectstring
    Target destination domain for redirection. **PREREQUISITE: The target domain must already be added to the project first** (call this action without redirect parameters to add the target domain, then call again with redirect parameters to add the redirecting domain). When set, re…
  • gitBranchstring
    Git branch to associate with this domain. When set, deployments from this branch will be accessible via this domain. Maximum 250 characters. IMPORTANT: Cannot be used together with 'redirect' or 'redirect_status_code' - these are mutually exclusive domain configuration modes.
  • redirectStatusCodeinteger
    HTTP status code for redirect. Required when 'redirect' is set. 301: Permanent redirect (cached by browsers), 302: Temporary redirect, 307: Temporary redirect (preserves method), 308: Permanent redirect (preserves method). IMPORTANT: Cannot be used together with 'git_branch' - t…
  • customEnvironmentIdstring
    Custom environment identifier within the project to associate with this domain

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源