Skip to content
Snippets Groups Projects
Select Git revision
  • 9aa6d2a6b09016fc5eab63aa15c346dedd29bf46
  • release default protected
  • workshop
3 results

start_tst

Blame
  • api-data-service.yaml 99.45 KiB
    {
      "openapi": "3.1.0",
      "info": {
        "title": "Database Repository Data Service API",
        "description": "Service that manages the data",
        "contact": {
          "name": "Prof. Andreas Rauber",
          "email": "andreas.rauber@tuwien.ac.at"
        },
        "license": {
          "name": "Apache 2.0",
          "url": "https://www.apache.org/licenses/LICENSE-2.0"
        },
        "version": "1.9.0"
      },
      "externalDocs": {
        "description": "Sourcecode Documentation",
        "url": "https://www.ifs.tuwien.ac.at/infrastructures/dbrepo/1.9.0/system-services-metadata/"
      },
      "servers": [
        {
          "url": "http://localhost",
          "description": "Development instance"
        },
        {
          "url": "https://test.dbrepo.tuwien.ac.at",
          "description": "Staging instance"
        }
      ],
      "paths": {
        "/api/database/{databaseId}/view/{viewId}/data": {
          "get": {
            "tags": [
              "view-endpoint"
            ],
            "summary": "Get view data",
            "description": "Gets data from a view of a database. For private databases, the user needs at least *READ* access to the associated database.",
            "operationId": "getData",
            "parameters": [
              {
                "name": "databaseId",
                "in": "path",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              {
                "name": "viewId",
                "in": "path",
                "required": true,
                "schema": {
                  "type": "string",
                  "format": "uuid"
                }
              },
              {
                "name": "page",
                "in": "query",
                "required": false,
                "schema": {
                  "type": "integer",
                  "format": "int64"
                }
              },
              {
                "name": "size",
                "in": "query",
                "required": false,