---
title: "Validate parameters for create Raw package"
method: POST
path: "/packages/{owner}/{repo}/validate-upload/raw/"
tags: ["packages"]
---

# Validate parameters for create Raw package

`POST /packages/{owner}/{repo}/validate-upload/raw/`

Validate parameters for create Raw package

## Request body

- RawPackageUploadRequest
  - `content_type` string, nullable — A custom content/media (also known as MIME) type to be sent when downloading this file. By default Cloudsmith will attempt to detect the type, but if you need to override it, you can specify it here.
  - `description` string, nullable — A textual description of this package.
  - `name` string, nullable — The name of this package.
  - `package_file` string, required — The primary file for the package.
  - `republish` boolean — If true, the uploaded package will overwrite any others with the same attributes (e.g. same version); otherwise, it will be flagged as a duplicate.
  - `summary` string, nullable — A one-liner synopsis of this package.
  - `tags` string, nullable — A comma-separated values list of tags to add to the package.
  - `version` string, nullable — The raw version for this package.

## Response `204`

Validation was successful, parameters are OK.

## Other responses

- `400` — Request could not be processed (see detail).
- `404` — Namespace (owner) or repository not found
- `422` — Missing or invalid parameters (see detail).

---

[API](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1.md) · [All operations](https://skmtc.dev/cloudsmith/apis/cloudsmith-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cloudsmith/cloudsmith-api-v1/revisions/d84142c9e5ad/schema)
