---
title: "Creates a new Metadata and returns it with the generated ID."
method: PUT
path: "/sdocmeta"
tags: ["sdocMetadata"]
---

# Creates a new Metadata and returns it with the generated ID.

`PUT /sdocmeta`

## Request body

- SourceDocumentMetadataCreate
  - `int_value` integer, nullable, required — Int Value of the SourceDocumentMetadata
  - `str_value` string, nullable, required — String Value of the SourceDocumentMetadata
  - `boolean_value` boolean, nullable, required — Boolean Value of the SourceDocumentMetadata
  - `date_value` string, date-time, nullable, required — Date Value of the SourceDocumentMetadata
  - `list_value` string[], nullable, required — List Value of the SourceDocumentMetadata
  - `source_document_id` integer, required — SourceDocument the SourceDocumentMetadata belongs to
  - `project_metadata_id` integer, required — ID of the ProjectMetadata

## Response `200`

Successful Response

- SourceDocumentMetadataRead
  - `int_value` integer, nullable, required — Int Value of the SourceDocumentMetadata
  - `str_value` string, nullable, required — String Value of the SourceDocumentMetadata
  - `boolean_value` boolean, nullable, required — Boolean Value of the SourceDocumentMetadata
  - `date_value` string, date-time, nullable, required — Date Value of the SourceDocumentMetadata
  - `list_value` string[], nullable, required — List Value of the SourceDocumentMetadata
  - `id` integer, required — ID of the SourceDocumentMetadata
  - `project_metadata_id` integer, required — ID of the ProjectMetadata
  - `source_document_id` integer, required — SourceDocument the SourceDocumentMetadata belongs to

## Other responses

- `422` — Validation Error

## Changes

- **2025-08-22** `53e769440a25` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/changes/sdocmeta/put.md)

---

[API](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.dev/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/revisions/bf20656dfc4d/schema)
