---
title: "Update an entry"
method: PUT
path: "/entries/{id}"
tags: ["Entries/Places"]
---

# Update an entry

`PUT /entries/{id}`

The edited entry must include the *next version* of this entry
in the `version` field, where *next version* = *current version* + 1.

## Path parameters

- `id` string, required — Identifier of a resource

## Request body

- NewEntryWithVersion
  - `title` string, required
  - `description` string, required
  - `lat` number, double, required — Geographic latitude (in degrees)
  - `lng` number, double, required — Geographic longitude (in degrees)
  - `street` string
  - `zip` string
  - `city` string
  - `country` string
  - `state` string
  - `contact_name` string — The full name of a person.
  - `email` string — An e-mail address.
  - `telephone` string
  - `homepage` string
  - `opening_hours` string — The opening hours in OpenStreetMap format. Specification: https://wiki.openstreetmap.org/wiki/Key:opening_hours Reference implementations: https://github.com/opening-hours/ Generator tool: https://projets.pavie.info/yohours/ The service trims leading/trailing whitespaces and stores values as is. Values are currently not validated against the OSM format syntax!
  - `founded_on` string, date — The date on which an organization, initiative, or company has been founded or established.
  - `categories` string[]
  - `tags` Tag[]
  - `image_url` string
  - `image_link_url` string
  - `links` CustomLink[] — An unordered list of custom links. The ordering of list items may change between different revisions even if this list has not been modified. Don't make any assumptions about a particular ordering!
    - `url` string, required
    - `title` string
    - `description` string
  - `version` integer

## Response `200`

Successful response

## Changes

- **2021-08-08** `fdad7ffe4059` — 2 info
  - the request property `allOf[#/components/schemas/NewEntry]/categories` became optional
  - the request property `allOf[#/components/schemas/NewEntry]/tags` became optional
- **2021-08-08** `36db91c22909` — 1 info
  - the request property `allOf[#/components/schemas/NewEntry]/links` became optional
- **2021-08-08** `faa932c519e7` — 3 breaking
  - the request property `allOf[#/components/schemas/NewEntry]/categories` became required
  - the request property `allOf[#/components/schemas/NewEntry]/links` became required
  - the request property `allOf[#/components/schemas/NewEntry]/tags` became required
- **2020-11-30** `5fa0143c38e1` — 1 info
  - the endpoint scheme security `jwtAuth` was added to the API
- **2020-10-26** `0ea955a8beb1` — 3 info
  - the endpoint scheme security `bearerAuth` was added to the API
  - the endpoint scheme security `captchaCookieAuth` was added to the API
  - the endpoint scheme security `userEmailCookieAuth` was added to the API

[Full history](https://skmtc.dev/kartevonmorgen/apis/openfairdb-api/changes/entries/:id/put.md)

---

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