---
title: "接收发布单制品元信息"
method: POST
path: "/release-orders/{id}/artifact-metadata"
tags: ["release-orders"]
---

# 接收发布单制品元信息

`POST /release-orders/{id}/artifact-metadata`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/release-orders/{id}/artifact-metadata`
- Auth: none declared

接收发布单制品元信息，并按统一响应结构返回处理结果。

## Path parameters

- `id` string, required

## Request body

- InternalInterfacesHttpRecordReleaseOrderArtifactMetadataRequest
  - `artifact_name` string
  - `artifact_type` string
  - `artifact_url` string
  - `artifact_version` string
  - `bucket` string
  - `build_number` string
  - `checksum` string
  - `checksum_type` string
  - `execution_id` string
  - `metadata` object
  - `object_key` string
  - `pipeline_scope` string
  - `repository_id` string
  - `repository_name` string
  - `size_bytes` integer

## Response `200`

OK

- InternalInterfacesHttpReleaseOrderArtifactMetadataDataResponse
  - `data` InternalInterfacesHttpReleaseOrderArtifactMetadataResponse
    - `artifact_name` string
    - `artifact_type` string
    - `artifact_url` string
    - `artifact_version` string
    - `bucket` string
    - `build_number` string
    - `checksum` string
    - `checksum_type` string
    - `created_at` string
    - `execution_id` string
    - `id` string
    - `metadata` object
    - `object_key` string
    - `pipeline_scope` string
    - `release_order_id` string
    - `repository_id` string
    - `repository_name` string
    - `size_bytes` integer
    - `updated_at` string

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

## Changes

- **2026-09-09** `26b0f6ed4a12`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/opsre/apis/gos-release-api/changes/release-orders/:id/artifact-metadata/post.md)

---

[API](https://skmtc.dev/opsre/apis/gos-release-api.md) - [All operations](https://skmtc.dev/opsre/apis/gos-release-api/llms.txt) - [OpenAPI document](https://skmtc.dev/opsre/apis/gos-release-api/revisions/26b0f6ed4a12?raw)
