> For the complete documentation index, see [llms.txt](https://docs.fylr.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fylr.io/for-developers/api/endpoints/api-xmlmapping.md).

# /api/v1/xmlmapping

Manage XML import/export **mappings** — transformations between fylr objects and external XML formats (METS/MODS, LIDO, custom profiles, ...). A mapping pairs an XML profile with field-level bindings; profiles describe the structure of the external XML.

### `GET /xmlmapping/list` — List all profiles with the mappings built from each.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/list" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `GET /xmlmapping/tags` — List the metadata tags the exif-list recipe knows about.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/tags" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `GET /xmlmapping/profile/{profile}` — Retrieve a single XML profile.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/profile/{profile}" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `PUT /xmlmapping/mapping` — Create a new mapping.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/mapping" method="put" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `GET /xmlmapping/mapping/{mapping}` — Retrieve an XML mapping.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/mapping/{mapping}" method="get" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `POST /xmlmapping/mapping/{mapping}` — Update an existing XML mapping.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/mapping/{mapping}" method="post" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}

### `DELETE /xmlmapping/mapping/{mapping}` — Delete an XML mapping.

{% openapi src="/files/kfiDjhyZfEICNBmt5f49" path="/xmlmapping/mapping/{mapping}" method="delete" %}
[fylr-openapi.yml](https://4100607288-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAdRFzQASDY2Elfdm3wXW%2Fuploads%2Fgit-blob-27a76749464f8079ac8ce2ee65518544084ed6fa%2Ffylr-openapi.yml?alt=media)
{% endopenapi %}
