{
  "opencollection": "1.0.0",
  "info": {
    "name": "PHAIDRA datastream API",
    "version": "3.0"
  },
  "items": [
    {
      "info": {
        "name": "datastream",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get uwmetadata structure.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://services.phaidra.univie.ac.at/api/uwmetadata/tree"
          },
          "docs": "Returns the uwmetadata structure with all nodes, labels, dictionaries, etc."
        },
        {
          "info": {
            "name": "Transforms uwmetadata JSON to XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/uwmetadata/json2xml",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms uwmetadata structure from JSON to XML (see [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples))."
        },
        {
          "info": {
            "name": "Transforms uwmetadata XML to JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/uwmetadata/xml2json",
            "params": [
              {
                "name": "mode",
                "value": "",
                "type": "query",
                "description": "mode full or basic"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transforms the uwmetadata structure from XML to JSON (see [examples of uwmetadata](https://github.com/phaidra/phaidra-api/wiki/Datastream-examples))."
        },
        {
          "info": {
            "name": "Validates uwmetadata XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/uwmetadata/validate"
          },
          "docs": "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."
        },
        {
          "info": {
            "name": "Validates JSON uwmetadata.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/uwmetadata/json2xml_validate",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "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). "
        },
        {
          "info": {
            "name": "Get MODS tree.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://services.phaidra.univie.ac.at/api/mods/tree"
          },
          "docs": "Returns the MODS structure with all nodes, dictionaries, etc."
        },
        {
          "info": {
            "name": "Transforms MODS JSON to XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/mods/json2xml",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms the MODS from JSON to XML."
        },
        {
          "info": {
            "name": "Transforms MODS XML to JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/mods/xml2json",
            "params": [
              {
                "name": "mode",
                "value": "",
                "type": "query",
                "description": "mode full or basic"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transforms the MODS from XML to JSON."
        },
        {
          "info": {
            "name": "Validates the MODS XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/mods/validate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates the MODS structure in XML."
        },
        {
          "info": {
            "name": "Validates MODS JSON",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/mods/json2xml_validate",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms the MODS structure from JSON to XML and validates it."
        },
        {
          "info": {
            "name": "Transforms rights JSON to XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/rights/json2xml",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms the rights structure from JSON to XML (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights))"
        },
        {
          "info": {
            "name": "Transforms rights XML to JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/rights/xml2json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transforms the rights structure from XML to JSON (see [examples of rights structure](https://github.com/phaidra/phaidra-api/wiki/Example-of-rights))."
        },
        {
          "info": {
            "name": "Validates rights XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/rights/validate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates the rights structure in XML."
        },
        {
          "info": {
            "name": "Validates rights JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/rights/json2xml_validate",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "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))."
        },
        {
          "info": {
            "name": "Transforms the geo JSON to XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/geo/json2xml",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "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))."
        },
        {
          "info": {
            "name": "Transforms geo XML to JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/geo/xml2json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "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))."
        },
        {
          "info": {
            "name": "Validates the geo XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/geo/validate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates the geo structure in XML."
        },
        {
          "info": {
            "name": "Validates the geo JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/geo/json2xml_validate",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "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)."
        },
        {
          "info": {
            "name": "Transforms members JSON to XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/members/order/json2xml",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms the members JSON structure to XML. See [example of members JSON structure](https://github.com/phaidra/phaidra-api/wiki/Collection-members-json-structure)."
        },
        {
          "info": {
            "name": "Transforms the members XML structure to JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/members/order/xml2json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transforms the members XML structure to JSON."
        },
        {
          "info": {
            "name": "Transforms annotations JSON to XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/annotations/json2xml",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms the annotations JSON structure to XML (see an [example of annotation JSON structure](https://github.com/phaidra/phaidra-api/wiki/Annotations))."
        },
        {
          "info": {
            "name": "Transforms annotations XML to JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/annotations/xml2json",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Transforms the XML annotations structure to JSON."
        },
        {
          "info": {
            "name": "Validates the annotations XML.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/annotations/validate",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Validates the annotations structure in XML."
        },
        {
          "info": {
            "name": "Validates the annotations JSON.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://services.phaidra.univie.ac.at/api/annotations/json2xml_validate",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "metadata",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Transforms the annotations structure from JSON to XML and validates it. "
        }
      ]
    }
  ],
  "bundled": true
}