Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  1. Fotoware Alto
    • Release Notes
    • End-User Manual
    • Solutions
    • Terminology
    • User Guides
    • API Changelog
  2. Fotoware Veloz
    • Fotoware Veloz releases
    • Managing users and groups
    • Configuring archives
    • Configuring workflows
    • Configuring site behavior
    • Navigating and searching to find your assets
    • Working with your assets
    • Editing asset metadata
    • Uploading files
    • Version Control in Fotoware
    • Albums - Creating and sharing collections
    • Placing assets in a Content Management System (CMS)
    • Working with the Fotoware Pro interface
    • Using the Fotoware plugins
    • Consent management
    • User guide to FotoWeb for iPad (Legacy)
    • Picture conferencing with FotoWeb Screens (Legacy)
    • What's what in Fotoware
    • GDPR
    • Activity Exports
    • Example workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets in Fotostation
    • Searching for assets
    • Working with your assets
    • Version Control in Fotostation
    • Automating tasks with Actions
    • Configuring metadata fields and editors
    • Configuring Fotostation
    • Configuring Fotostation for multi-user environments
    • Troubleshooting Fotostation
  4. Fotoware Flow
    • About Flow
    • Getting started
    • Flow dictionary
  5. Fotoware On-premises
    • Fotoware On-premises releases
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • Fotoware Alto API
    • Fotoware Veloz and On-premises API
  7. Fotoware Mobile
    • User guide for Fotoware Mobile for iPhone and Android
    • User guide to FotoWeb for iPad (Legacy)
    • User guide to FotoWeb for iPhone and Android (Legacy)

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

Support

Table of Contents

Syntax Requirements Request body Request example using Curl Response data Remarks
  • Home
  • Integrations and APIs
  • Fotoware Veloz and On-premises API
  • Fotoware API overview

Updating metadata on an asset

This article describes how to update metadata on an asset using the API.

30. April 2026

Elaine Foley

Table of Contents

Syntax Requirements Request body Request example using Curl Response data Remarks

Syntax

PATCH asset URL
Content-Type: application/vnd.fotoware.assetupdate+json
Accept: application/vnd.fotoware.asset+json

The asset URL is the URL of the asset. It can be obtained by browsing an archive, through a search result, etc. 


Requirements

Requires authentication: Yes

Required permissions: Edit Metadata on the archive containing the asset


Request body

The request must include a body that specifies which metadata fields will be updated and their new values. Example:

1

2

3

4

5

{

"metadata": {

"5": { "value": "The Beatles" }

}

}

This request replaces the value of metadata field 5 with "The Beatles". Other metadata fields are not modified and retain their previous values. For an overview of metadata field numbers, see XMP field code reference.

It is possible to update multiple metadata fields in the same request:

1

2

3

4

5

6

{

"metadata": {

"5": { "value": "The Beatles" },

"90": { "value": "London" }

}

}

This request replaces the values of the metadata fields 5 and 90 with different values.

Some metadata fields (bag fields) may contain multiple values. For such fields, multiple values can be given as a JSON array:

1

2

3

4

5

6

{

"metadata": {

"5": { "value": "The Beatles" },

"25": { "value": [ "Paul", "John", "Ringo", "George" ] }

}

}

If only one value shall be added to a bag field, then the array brackets ([]) can be omitted:

1

2

3

4

5

6

{

"metadata": {

"5": { "value": "The Beatles" },

"25": { "value": [ "Paul", "John", "Ringo", "George" ] }

}

}

 

It is also possible to delete a metadata field by specifying empty array brackets:

1

2

3

4

5

6

{

"metadata": {

"5": { "value": "The Ramones" },

"25": { "value": [] }

}

}


Request example using Curl

The following example is a CURL command line that sends a metadata update request to the API.

Before sending the request, create a text file called request.txt, that contains the request body. You can use one of the examples above.

In the following CURL command, replace the URL (shown in bold) with the fully qualified URL of the asset. This URL can be obtained, for example, by visiting the asset details page in the browser and copying the address line (excluding the fragment part after #). If you obtained the URL using the API, remember to add http:// and the hostname when using it in the following command line:

curl \
 --header "Content-Type: application/vnd.fotoware.assetupdate+json" \
 --header "Accept: application/vnd.fotoware.asset+json" \
 --request PATCH http://fotoweb.acme.com/fotoweb/archives/5005-Photos/Incoming/0000.JPG.info \
 -d @request.txt


Response data

If the request is successful, then the server sends the following response:

200 OK
Content-Type: application/vnd.fotoware.asset+json
{ ... }

The response body (omitted here) is a complete JSON representation of the asset containing the updated metadata, the remaining metadata fields, and other information.


Remarks

The API can be used to set the metadata fields defined in the metadata set of the archive containing the asset.

edit details update information

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Content Relation Items Changed Condition
  • Defining metadata requirements for uploaded assets
  • Preserving metadata on upload
eco-lighthouse-miljøfyrtårn

Company

  • About us
  • Resellers
  • Careers
  • Contact us

Help & support

  • Support center
  • Consultancy
  • Tech partners
  • Fotostation
  • System status

Trust Center

  • Legal
  • Security
  • Sustainability & ESG

Locations

Fotoware AS (HQ)
Tollbugata 35
0157 OSLO
Norway
Fotoware Switzerland AG
Brown Boveri Str.7
5400 Baden
Switzerland

Copyright 2026 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand