跳到主要内容

获取 Artifact 详情

GET 

/api/v8/repos/:owner/:repo/actions/artifacts/:artifact_id

查询仓库下指定制品的详情。

Request​

Path Parameters

    owner stringrequired

    仓库所属空间地址(组织或个人的地址path)

    repo stringrequired

    仓库路径(path)

    artifact_id stringrequired

    制品id

Query Parameters

    access_token string

Responses​

Response Headers
    Schema
      idstring

      制品ID

      namestring

      制品名称

      size_bytesinteger

      制品大小(字节)

      workflow_idstring

      工作流ID

      workflow_run_idstring

      工作流运行ID

      digeststring

      SHA256 摘要

      expires_atstring

      过期时间(毫秒时间戳)

      created_atstring

      创建时间(毫秒时间戳)

      updated_atstring

      更新时间(毫秒时间戳)