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
    • 11.14 Schreckhorn
    • Terminology
    • Solutions
    • User Guide - Deutsch
    • User Guide - English
    • API Changelog
  2. Fotoware Veloz
    • 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 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
    • Fotoware Veloz releases
    • Activity Exports
    • Fotoware Example Workflows
  3. Fotostation
    • Getting started with Fotostation
    • Viewing, selecting and sorting files
    • Managing your assets with archives
    • Adding metadata to assets
    • 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
    • What is Flow?
    • Getting started
    • Flow dictionary
  5. Fotoware On-Premises
    • Getting started
    • Index Manager
    • FotoWeb
    • Color Factory
    • Connect
    • Operations Center Guide
  6. Integrations and APIs
    • The Fotoware API
    • Creating integrations using embeddable widgets
    • Authorizing applications using OAuth
    • Auto-tagging
    • FotoWeb Drag and Drop export
    • Integration using webhooks
    • Optimizely and Episerver plugin documentation
    • User Interface Integrations
  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

Overview Definitions URL Resolver API POST Requests
  • Home
  • Integrations and APIs
  • FotoWeb Drag and Drop export

Integrator's guide to FotoWeb Drag and Drop export

How to integrate a third party system with FotoWeb to allow drag and drop from FotoWeb into the application.

02. April 2025

Elaine Foley

Table of Contents

Overview Definitions URL Resolver API POST Requests

Overview

Enabling drag & drop export of assets to a specific desktop application requires writing a custom-made integration for the each application. The integration must be built into the desktop application or a plugin or "proxy application" that talks to the actual desktop application. It must do the following:

  1. Receive and handle drag events using the desktop interface (Windows or Mac OS), which contain URLs of dropped assets or asset selections
  2. Send request to the URL resolver service of FotoWeb to get metadata and original files based on the dropped URLs.

Definitions

  • Drop Target: Part of the user interface of the desktop application (or a plugin or proxy application) on which assets can be dropped
  • URL resolver: Part of the custom integration made in the desktop application which requests metadata and original files from FotoWeb based on URLs dropped on a drop target
  • URL resolver service: An API in FotoWeb that is used by an URL resolver

Note: The format of the drop URLs is unspecified. The desktop application never needs to interpret drop URLs. It merely passes them on to the URL resolver service. Note that it is not possible to compute the drop URL of another asset using a given valid drop URL. This is by design and necessary for access control, so users cannot access information about assets without permission. We therefore strongly discourage any attempts at interpreting or reverse-engineering drop URLs. 

URL Resolver API

Once the desktop application has received an URL on the drop target, the URL must be resolved using the URL resolver service of FotoWeb.

The URL resolver service is used as follows:

GET /fotoweb/services/urlresolver?url=DROP_URL
Accept: application/vnd.fotoware.assetlist+json

where DROP_URL is the drop URL that was received on the drop target.

Note: The DROP_URL parameter must be URL-encoded (just like any string value that is put into a query string parameter). Even though it already is an URL and might already contain percent-encoded characters, it must be encoded again, since an URL contains characters that have special meanings inside URLs. After correct encoding, for example, the protocol part ("https://") looks like this: "https%3A%2F%2F".

If the request fails, the status code in the response can be interpreted as follows:

  • 400 Bad Request: The drop URL is invalid or the user did not have permission to use drag & drop export (can occur particularly when dragging a single asset from the standard interface without the necessary permissions and license)
  • > 500: An internal error has occurred on the server. The user may attempt to retry the operation later. If this continues to occur, then the server is either misconfigured or it is a bug. In this case, we recommend contacting Fotoware support.

If the request is successful, the service responds as follows:

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

The body of the response is an asset list represented in JSON, which is the format also used for asset lists in the FotoWeb REST API.

The response contains metadata and (if configured ) URLs of quick renditions, which can be used for extracting images.

POST Requests

For large numbers of assets, we strongly recommend using POST requests rather than GET requests to the URL resolver, due to URL length limitations. 

POST /fotoweb/services/urlresolver
Accept: application/vnd.fotoware.assetlist+json
Content-Type: application/vnd.fotoware.assetlinklist+json

POST /fotoweb/services/urlresolver Drop URLs are the same kind of URLs that are passed to the url argument in the GET request. Multi-asset URLs are also supported. This means that if a multi-asset URL was dropped on the drop target, then the client can simply send:

Accept: application/vnd.fotoware.assetlist+json
Content-Type: application/vnd.fotoware.assetlinklist+json
{
 "data": [ {"href": "DROP_URL"} ]
}

This request supports sending multiple drop URLs.

Although the MIME type application/vnd.fotoware.assetlinklist+json is used in the request, only drop URLs are allowed, so this is not a regular asset link list.

The format of a drop URL is unspecified. Applications MUST NOT make any assumptions about the format of drop URLs, parse them or compose new drop URLs. This is not supported and may break in future versions if new ways to export assets are added to FotoWeb or the URL format changes. Drop URLs should not be stored in external applications. Instead, they should be sent to the URL resolver as soon as possible. The responses returned by the URL resolver, as well as renditions of assets, may be stored.

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Replacing lo-res images with hi-res in PDF workflows
  • Auto-tagging
  • Preserving metadata on upload
  • User guide: Dropping assets from FotoWeb to a third-party system
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
Industriestrasse 25
5033 Buchs (AG)
Switzerland

Copyright 2025 Fotoware All rights reserved.

  • Terms of service
  • Privacy policy
  • Cookie policy

Knowledge Base Software powered by Helpjuice

Expand