PHAIDRA datastream API (University of Vienna)

Requests for transforming and validating datastreams

Operations 24

GET /uwmetadata/tree Get uwmetadata structure.
POST /uwmetadata/json2xml Transforms uwmetadata JSON to XML.
POST /uwmetadata/xml2json Transforms uwmetadata XML to JSON.
POST /uwmetadata/validate Validates uwmetadata XML.
POST /uwmetadata/json2xml_validate Validates JSON uwmetadata.
GET /mods/tree Get MODS tree.
POST /mods/json2xml Transforms MODS JSON to XML.
POST /mods/xml2json Transforms MODS XML to JSON.
POST /mods/validate Validates the MODS XML.
POST /mods/json2xml_validate Validates MODS JSON
POST /rights/json2xml Transforms rights JSON to XML.
POST /rights/xml2json Transforms rights XML to JSON.
POST /rights/validate Validates rights XML.
POST /rights/json2xml_validate Validates rights JSON.
POST /geo/json2xml Transforms the geo JSON to XML.
POST /geo/xml2json Transforms geo XML to JSON.
POST /geo/validate Validates the geo XML.
POST /geo/json2xml_validate Validates the geo JSON.
POST /members/order/json2xml Transforms members JSON to XML.
POST /members/order/xml2json Transforms the members XML structure to JSON.
POST /annotations/json2xml Transforms annotations JSON to XML.
POST /annotations/xml2json Transforms annotations XML to JSON.
POST /annotations/validate Validates the annotations XML.
POST /annotations/json2xml_validate Validates the annotations JSON.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/university-of-vienna-datastream-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

university-of-vienna-datastream-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PHAIDRA Datastream API
  version: '3.0'
  description: Documentation of the PHAIDRA API.
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  x-provenance:
    generated: '2026-08-30'
    method: searched
    source: >-
      PHAIDRA API v3.0, published Apache 2.0 by the PHAIDRA project (github.com/phaidra/phaidra-api, public/docs/openapi.json), the platform the University of Vienna authors and hosts. Pristine copy at
      openapi/_original/university-of-vienna-phaidra-api.yaml.
    x-operator: institution
    note: >-
      Split from the source contract by refine-openapis; servers[] re-based to the live production host on 2026-08-30 (see servers[].description).
servers:
- url: https://phaidra.univie.ac.at/api/
  description: University of Vienna PHAIDRA (current production base, re3data r3d100010472, verified 2026-08-30)
- description: RETIRED — returns HTTP 200 with a zero-length body on every path (soft-200), verified 2026-08-30
  url: https://services.phaidra.univie.ac.at/api/
- description: PHAIDRA Sandbox — connection timed out on probe 2026-08-30
  url: https://sandbox.phaidra.org/api/
tags:
- name: datastream
  description: Requests for transforming and validating datastreams
paths:
  /uwmetadata/tree:
    get:
      summary: Get uwmetadata structure.
      description: Returns the uwmetadata structure with all nodes, labels, dictionaries, etc.
      tags:
      - datastream
      responses:
        '200':
          description: Uwmetadata tree.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  status:
                    type: number
                  languages:
                    type: object
                  tree:
                    $ref: '#/components/schemas/uwmetadata'
  /uwmetadata/json2xml:
    post:
      summary: Transforms uwmetadata JSON to XML.
      description: Transforms uwmetadata structure from JSON to XML (see [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples)).
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    metadata:
                      type: object
                      properties:
                        uwmetadata:
                          $ref: '#/components/schemas/uwmetadata_min'
                  description: example of uwmetadata JSON
      responses:
        '200':
          description: XML uwmetadata.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  metadata:
                    type: object
                    properties:
                      uwmetadata:
                        type: string
  /uwmetadata/xml2json:
    post:
      summary: Transforms uwmetadata XML to JSON.
      description: Transforms the uwmetadata structure from XML to JSON (see [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples)).
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    uwmetadata:
                      type: string
                      example: '<ns0:uwmetadata xmlns:ns0="http://phaidra.univie.ac.at/XML/metadata/V1.0" xmlns:ns1="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0" xmlns:ns2="http://phaidra.univie.ac.at/XML/metadata/extended/V1.0"
                        xmlns:ns3="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/entity" xmlns:ns4="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/requirement" xmlns:ns5="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/educational"
                        xmlns:ns6="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/annotation" xmlns:ns7="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification" xmlns:ns8="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/organization"
                        xmlns:ns9="http://phaidra.univie.ac.at/XML/metadata/histkult/V1.0" xmlns:ns10="http://phaidra.univie.ac.at/XML/metadata/provenience/V1.0" xmlns:ns11="http://phaidra.univie.ac.at/XML/metadata/provenience/V1.0/entity"
                        xmlns:ns12="http://phaidra.univie.ac.at/XML/metadata/digitalbook/V1.0" xmlns:ns13="http://phaidra.univie.ac.at/XML/metadata/etheses/V1.0">

                        <ns1:general>

                        <ns1:title language="de">Title</ns1:title>

                        <ns1:language>de</ns1:language>

                        </ns1:general>

                        <ns1:lifecycle>

                        <ns1:contribute seq="0">

                        <ns1:role>46</ns1:role>

                        <ns1:entity seq="0">

                        <ns3:firstname>Brenda</ns3:firstname>

                        <ns3:lastname>Walsh</ns3:lastname>

                        </ns1:entity>

                        </ns1:contribute>

                        </ns1:lifecycle>

                        <ns1:rights>

                        <ns1:license>1</ns1:license>

                        </ns1:rights>

                        </ns0:uwmetadata>

                        '
      parameters:
      - in: query
        name: mode
        schema:
          type: string
          required: false
          enum:
          - full
          - basic
          default: basic
        description: mode full or basic
      responses:
        '200':
          description: JSON uwmetadata.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  metadata:
                    type: object
                    properties:
                      uwmetadata:
                        $ref: '#/components/schemas/uwmetadata_min'
  /uwmetadata/validate:
    post:
      summary: Validates uwmetadata XML.
      description: Validates the uwmetadata structure in XML (see an [example of uwmetadata XML](https://github.com/phaidra/phaidra-api/wiki/Article-uwmetadata-in-xml-format)). The XML has to be sent 
        in the request body as raw data.
      tags:
      - datastream
      requestBody:
        content:
          text/plain:
            schema:
              type: string
              format: binary
              description: uwmetadata XML, the XML has to be sent in the request body as raw data.
      responses:
        '200':
          description: Xml uwmetadata validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /uwmetadata/json2xml_validate:
    post:
      summary: Validates JSON uwmetadata.
      description: 'Transforms uwmetadata structure from JSON to XML, then validates the uwmetadata XML. See [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples). '
      tags:
      - datastream
      requestBody:
        description: JSON uwmetadata. An example of article uwmetadata in basic mode is provided.
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  $ref: '#/components/schemas/uwmetadata_article_basic'
      responses:
        '200':
          description: Json uwmetadata validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /mods/tree:
    get:
      summary: Get MODS tree.
      description: Returns the MODS structure with all nodes, dictionaries, etc.
      tags:
      - datastream
      responses:
        '200':
          description: Mods tree.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/mods_tree'
  /mods/json2xml:
    post:
      summary: Transforms MODS JSON to XML.
      description: Transforms the MODS from JSON to XML.
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  $ref: '#/components/schemas/mods'
                  description: example of mods JSON
      responses:
        '200':
          description: MODS XML.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  metadata:
                    type: object
                    properties:
                      mods:
                        type: string
  /mods/xml2json:
    post:
      summary: Transforms MODS XML to JSON.
      description: Transforms the MODS from XML to JSON.
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    annotations:
                      type: string
                      example: <mods:mods xmlns:mods="http://www.loc.gov/mods/v3"><mods:identifier type="ac-number">AC04090285</mods:identifier><mods:language><mods:languageTerm authority="iso639-2b" 
                        type="code">ger</mods:languageTerm></mods:language><mods:name authority="gnd" authorityURI="http://d-nb.info/gnd/" type="personal" 
                        valueURI="http://d-nb.info/gnd/121309096"><mods:namePart type="given">Gustav</mods:namePart><mods:namePart type="family">Freytag</mods:namePart><mods:role><mods:roleTerm 
                        authority="marcrelator" type="code">edt</mods:roleTerm></mods:role></mods:name><mods:titleInfo><mods:title>Karte der Dachstein-Gruppe</mods:title><mods:subTitle>für 
                        Touristen</mods:subTitle></mods:titleInfo><mods:relatedItem 
                        type="series"><mods:titleInfo><mods:title>Touristenkarten</mods:title></mods:titleInfo></mods:relatedItem><mods:classification authority="bkl" 
                        authorityURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/" 
                        valueURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/cls_10/1065197">Deutschland, Österreich, Schweiz 
                        &lt;Geographie&gt;</mods:classification><mods:subject><mods:geographic authority="gnd" authorityURI="http://d-nb.info/gnd/" 
                        valueURI="http://d-nb.info/gnd/4010858-2">Dachstein</mods:geographic><mods:topic authority="gnd">Karte</mods:topic></mods:subject><mods:originInfo><mods:dateIssued 
                        encoding="w3cdtf" keyDate="yes">1931</mods:dateIssued><mods:place><mods:placeTerm type="text">Wien</mods:placeTerm></mods:place><mods:publisher>G. Freytag &amp; 
                        Berndt</mods:publisher></mods:originInfo><mods:physicalDescription><mods:extent>1 Kt.</mods:extent><mods:form>mehrfarb.</mods:form><mods:extent>58 x 55 
                        cm</mods:extent></mods:physicalDescription><mods:recordInfo><mods:recordContentSource>Universitätsbibliothek Wien</mods:recordContentSource><mods:recordOrigin>Maschinell 
                        erzeugt</mods:recordOrigin><mods:languageOfCataloging><mods:languageTerm authority="iso639-2b" 
                        type="code">ger</mods:languageTerm></mods:languageOfCataloging><mods:descriptionStandard>rakwb</mods:descriptionStandard></mods:recordInfo><mods:note type="statement of 
                        responsibility">Bestand der Kartensammlung der Fachbereichsbibliothek Geographie und Regionalforschung, Universität Wien</mods:note><mods:accessCondition type="use and 
                        reproduction">http://creativecommons.org/publicdomain/mark/1.0/</mods:accessCondition></mods:mods>
      parameters:
      - in: query
        name: mode
        schema:
          type: string
          required: false
          enum:
          - full
          - basic
          default: basic
        description: mode full or basic
      responses:
        '200':
          description: MODS as JSON structure.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  mods:
                    $ref: '#/components/schemas/mods'
  /mods/validate:
    post:
      summary: Validates the MODS XML.
      description: Validates the MODS structure in XML.
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    annotations:
                      type: string
                      example: <mods:mods xmlns:mods="http://www.loc.gov/mods/v3"><mods:identifier type="ac-number">AC04090285</mods:identifier><mods:language><mods:languageTerm authority="iso639-2b" 
                        type="code">ger</mods:languageTerm></mods:language><mods:name authority="gnd" authorityURI="http://d-nb.info/gnd/" type="personal" 
                        valueURI="http://d-nb.info/gnd/121309096"><mods:namePart type="given">Gustav</mods:namePart><mods:namePart type="family">Freytag</mods:namePart><mods:role><mods:roleTerm 
                        authority="marcrelator" type="code">edt</mods:roleTerm></mods:role></mods:name><mods:titleInfo><mods:title>Karte der Dachstein-Gruppe</mods:title><mods:subTitle>für 
                        Touristen</mods:subTitle></mods:titleInfo><mods:relatedItem 
                        type="series"><mods:titleInfo><mods:title>Touristenkarten</mods:title></mods:titleInfo></mods:relatedItem><mods:classification authority="bkl" 
                        authorityURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/" 
                        valueURI="http://phaidra.univie.ac.at/XML/metadata/lom/V1.0/classification/cls_10/1065197">Deutschland, Österreich, Schweiz 
                        &lt;Geographie&gt;</mods:classification><mods:subject><mods:geographic authority="gnd" authorityURI="http://d-nb.info/gnd/" 
                        valueURI="http://d-nb.info/gnd/4010858-2">Dachstein</mods:geographic><mods:topic authority="gnd">Karte</mods:topic></mods:subject><mods:originInfo><mods:dateIssued 
                        encoding="w3cdtf" keyDate="yes">1931</mods:dateIssued><mods:place><mods:placeTerm type="text">Wien</mods:placeTerm></mods:place><mods:publisher>G. Freytag &amp; 
                        Berndt</mods:publisher></mods:originInfo><mods:physicalDescription><mods:extent>1 Kt.</mods:extent><mods:form>mehrfarb.</mods:form><mods:extent>58 x 55 
                        cm</mods:extent></mods:physicalDescription><mods:recordInfo><mods:recordContentSource>Universitätsbibliothek Wien</mods:recordContentSource><mods:recordOrigin>Maschinell 
                        erzeugt</mods:recordOrigin><mods:languageOfCataloging><mods:languageTerm authority="iso639-2b" 
                        type="code">ger</mods:languageTerm></mods:languageOfCataloging><mods:descriptionStandard>rakwb</mods:descriptionStandard></mods:recordInfo><mods:note type="statement of 
                        responsibility">Bestand der Kartensammlung der Fachbereichsbibliothek Geographie und Regionalforschung, Universität Wien</mods:note><mods:accessCondition type="use and 
                        reproduction">http://creativecommons.org/publicdomain/mark/1.0/</mods:accessCondition></mods:mods>
      responses:
        '200':
          description: XML validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /mods/json2xml_validate:
    post:
      summary: Validates MODS JSON
      description: Transforms the MODS structure from JSON to XML and validates it.
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  $ref: '#/components/schemas/mods'
      responses:
        '200':
          description: MODS JSON validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /rights/json2xml:
    post:
      summary: Transforms rights JSON to XML.
      description: Transforms the rights structure from JSON to XML (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights))
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    metadata:
                      type: object
                      properties:
                        rights:
                          $ref: '#/components/schemas/rights'
                  description: example of rights JSON
      responses:
        '200':
          description: rights in XML.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  metadata:
                    type: object
                    properties:
                      rights:
                        type: string
  /rights/xml2json:
    post:
      summary: Transforms rights XML to JSON.
      description: Transforms the rights structure from XML to JSON (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights)).
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    rights:
                      type: string
                      example: <uwr:rights xmlns:uwr="http://phaidra.univie.ac.at/XML/V1.0/rights"><uwr:allow><uwr:username expires="2016-08-25T14:31:34Z" 
                        >username123</uwr:username></uwr:allow></uwr:rights>
      responses:
        '200':
          description: rights in JSON
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  status:
                    type: number
                  rights:
                    $ref: '#/components/schemas/rights'
  /rights/validate:
    post:
      summary: Validates rights XML.
      description: Validates the rights structure in XML.
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    rights:
                      type: string
                      example: <uwr:rights xmlns:uwr="http://phaidra.univie.ac.at/XML/V1.0/rights"><uwr:allow><uwr:username expires="2016-08-25T14:31:34Z" 
                        >username123</uwr:username></uwr:allow></uwr:rights>
      responses:
        '200':
          description: xml validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /rights/json2xml_validate:
    post:
      summary: Validates rights JSON.
      description: Transforms the rights structure from JSON to XML and validates it (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights)).
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    metadata:
                      $ref: '#/components/schemas/rights'
      responses:
        '200':
          description: JSON validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /geo/json2xml:
    post:
      summary: Transforms the geo JSON to XML.
      description: Transforms the geo structure from JSON to XML (see [examples of geo datastream of a map object](https://github.com/phaidra/phaidra-api/wiki/GEO-datastream-of-a-map-object)).
      tags:
      - datastream
      requestBody:
        description: Geo JSON
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    metadata:
                      $ref: '#/components/schemas/geo'
                  description: example of geo JSON
      responses:
        '200':
          description: geolocation in XML.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  metadata:
                    type: object
                    properties:
                      geo:
                        type: string
  /geo/xml2json:
    post:
      summary: Transforms geo XML to JSON.
      description: Transforms the geo structure from XML to JSON (see [examples of geo datastream of a map object](https://github.com/phaidra/phaidra-api/wiki/GEO-datastream-of-a-map-object)).
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    geo:
                      type: string
                      example: <kml:kml xmlns:kml="http://www.opengis.net/kml/2.2"><kml:Document><kml:Placemark><kml:name>Tiflis, Metechi-Kirche</kml:name><kml:description>Tiflis, Georgien Tbilisi, 
                        Georgia</kml:description><kml:Point><kml:coordinates>44.8112504748688,41.6902784095934,0</kml:coordinates></kml:Point></kml:Placemark></kml:Document></kml:kml>
      responses:
        '200':
          description: geo in JSON
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  geo:
                    $ref: '#/components/schemas/geo'
  /geo/validate:
    post:
      summary: Validates the geo XML.
      description: Validates the geo structure in XML.
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    geo:
                      type: string
                      example: <kml:kml xmlns:kml="http://www.opengis.net/kml/2.2"><kml:Document><kml:Placemark><kml:name>Tiflis, Metechi-Kirche</kml:name><kml:description>Tiflis, Georgien Tbilisi, 
                        Georgia</kml:description><kml:Point><kml:coordinates>44.8112504748688,41.6902784095934,0</kml:coordinates></kml:Point></kml:Placemark></kml:Document></kml:kml>
      responses:
        '200':
          description: geo XML validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /geo/json2xml_validate:
    post:
      summary: Validates the geo JSON.
      description: Transforms the geo structure from JSON to XML and validates it. See [examples of geo datastream of a map 
        object](https://github.com/phaidra/phaidra-api/wiki/GEO-datastream-of-a-map-object).
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  $ref: '#/components/schemas/geo'
      responses:
        '200':
          description: geo JSON validated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/default'
  /members/order/json2xml:
    post:
      summary: Transforms members JSON to XML.
      description: Transforms the members JSON structure to XML. See [example of members JSON structure](https://github.com/phaidra/phaidra-api/wiki/Collection-members-json-structure).
      tags:
      - datastream
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    metadata:
                      $ref: '#/components/schemas/members'
      responses:
        '200':
          description: Members JSON in XML format.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                  metadata:
                    type: string
  /members/order/xml2json:
    post:
      summary: Transforms the members XML structure to JSON.
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    geo:
                      type: string
                      example: <co:collection_order xmlns:co="http://phaidra.univie.ac.at/XML/collection_order/V1.0"><co:member pos="1">o:98079</co:member><co:member 
                        pos="2">o:97973</co:member><co:member pos="3">o:98109</co:member><co:member pos="4">o:98074</co:member><co:member pos="5">o:16066</co:member><co:member 
                        pos="6">o:16083</co:member><co:member pos="7">o:98076</co:member><co:member pos="8">o:26111</co:member><co:member pos="9">o:18</co:member><co:member 
                        pos="10">o:62026</co:member></co:collection_order>
      responses:
        '200':
          description: Collection members in JSON
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  metadata:
                    $ref: '#/components/schemas/members'
  /annotations/json2xml:
    post:
      summary: Transforms annotations JSON to XML.
      description: Transforms the annotations JSON structure to XML (see an [example of annotation JSON structure](https://github.com/phaidra/phaidra-api/wiki/Annotations)).
      tags:
      - datastream
      requestBody:
        description: Annotations JSON
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    metadata:
                      $ref: '#/components/schemas/annotations'
                  description: example of annotation JSON
      responses:
        '200':
          description: Annotations in XML.
          content:
            application/json:
              schema:
                type: object
                properties:
                  alerts:
                    type: array
                    items:
                      type: object
                      properties:
                        msg:
                          type: string
                        type:
                          type: string
                  annotations:
                    type: object
  /annotations/xml2json:
    post:
      summary: Transforms annotations XML to JSON.
      description: Transforms the XML annotations structure to JSON.
      tags:
      - datastream
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                metadata:
                  type: object
                  properties:
                    annotations:
                      type: string
                      example: <ph:annotations xmlns:ph="http://phaidra.org/XML/V1.0/annotations"><ph:annotation 
                        ph:id=1><ph:x>0.7</ph:x><ph:y>0.6</ph:y><ph:w>0.2</ph:w><ph:h>0.18</ph:h><ph:category>pigments</ph:category><ph:text>prussian blue</ph:text></ph:annotati

# --- truncated at 32 KB (78 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/university-of-vienna/refs/heads/main/openapi/university-of-vienna-datastream-api-openapi.yml