Entries & Entry Patterns

Upserts an entry

Upserts an entry

put/api/v1/entries

Request

  • Base URL: https://uniform.app
  • URL: https://uniform.app/api/v1/entries
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Headers

X-If-Unmodified-Sincestring
Example:2024-01-15T10:30:45.123Z

Optional concurrency control header. If provided, the server will check that the entry has not been modified since this timestamp. If the timestamp doesn't match the current modified timestamp, a 409 Conflict response will be returned.

Request body

projectIdstring uuid required

The project ID to upsert the entry to

statenumber required

The publishing state to upsert into. 0 = draft, 64 = published

createdstring

Ignored if present

modifiedstring

Ignored if present

patternboolean

True if the entry is a pattern (which can be referenced on other entries)

releaseIdstring uuid

The release this entry belongs to. If not set, the entry belongs to the base

workflowIdstring uuid

The workflow ID that this entry is assigned, if any

workflowStageIdstring uuid

The stage ID the entry is in on its assigned workflow. When undefined, it is implicitly in the initial stage of the workflow

editionIdstring uuid

The edition ID. When set, this is a child edition of the entry in _id.

editionNamestring

The name of the entry or edition as shown in the editions listing. Describes the purpose of an edition.

editionPriorityinteger

The priority of the edition or entry. Higher numbers are higher priority. When multiple editions enable the same locale, the highest priority edition is used.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.