{
  "opencollection": "1.0.0",
  "info": {
    "name": "SAP BI Tools SAP Analytics Cloud Administration Stories API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://{tenant}.authentication.{region}.hana.ondemand.com/oauth/authorize",
      "accessTokenUrl": "https://{tenant}.authentication.{region}.hana.ondemand.com/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Stories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "SAP BI Tools List stories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenant}.{datacenter}.sapanalytics.cloud/api/v1/stories",
            "params": [
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related resources to include in the response (e.g., models)"
              }
            ]
          },
          "docs": "Retrieves a list of stories available on the SAP Analytics Cloud tenant. Supports query parameters to include additional metadata such as models used in each story. Returns a JSON array of story objects with their identifiers, names, descriptions, and metadata."
        },
        {
          "info": {
            "name": "SAP BI Tools Get a story by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{tenant}.{datacenter}.sapanalytics.cloud/api/v1/stories/:storyId",
            "params": [
              {
                "name": "storyId",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the story"
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of related resources to include in the response (e.g., models)"
              }
            ]
          },
          "docs": "Retrieves detailed information about a specific story identified by its unique story ID. Returns the story metadata, structure, and optionally the models used within it."
        }
      ]
    }
  ],
  "bundled": true
}