POST/ng-cms/content/{projectId}/{typeKey}/migrate

Migrate a content entry

Параметры запроса

projectIdstring
Обязательный

Unique identifier of the project (bucket)

typeKeystring
Обязательный

Key or ID of the content type

Тело запроса

MigrateContentEntryRequest
fieldsobject
Обязательный

Key-value map of field data matching the content type schema

contentTypeKeystring
Необязательный

Content type key (optional override; typically resolved from typeKey route param)

createdAtstring
Необязательный

Original creation timestamp in ISO 8601 UTC format to preserve on migration

updatedAtstring
Необязательный

Original last-updated timestamp in ISO 8601 UTC format to preserve on migration

publishedAtstring
Необязательный

Original publish timestamp in ISO 8601 UTC format to preserve on migration

Ответы

201Entry migrated successfully. Returns the new entry ID.

тип: ApiResponse<string>

successbooleanAlways true on success
resultstringID of the newly created content entry
errorsErrorDetail[]Empty on success
401Unauthorized.
404Content type or project not found.
400Validation failed.

тип: ApiResponse<T>

isValidbooleanAlways false
validationErrorsValidationError[]List of validation failures
namestringField that failed
attemptedValueobjectSubmitted value
messagestringValidation message
500Unexpected server error.

тип: ApiResponse<T>

successbooleanAlways false
errorsErrorDetail[]Server-side errors
correlationIdstringTrace ID
messagestringError message
stackstringStack trace (non-production only)

Оставаясь на сайте, Вы даете свое согласие на использование файлов cookie