{
  "opencollection": "1.0.0",
  "info": {
    "name": "Sisense REST API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Authentication",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Login and Get Token",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/v1/authentication/login",
            "body": {
              "type": "form-urlencoded",
              "data": [
                {
                  "name": "username",
                  "value": ""
                },
                {
                  "name": "password",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Authenticates a user with username and password, returning a Bearer token for use in subsequent API requests."
        }
      ]
    },
    {
      "info": {
        "name": "Dashboards",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Dashboards",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/dashboards",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Comma-separated list of fields to include in response"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field to sort by (prefix with - for descending)"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query",
                "description": "Number of results to skip for pagination"
              },
              {
                "name": "expand",
                "value": "",
                "type": "query",
                "description": "Replace foreign key IDs with full entity objects"
              }
            ]
          },
          "docs": "Returns a list of dashboards accessible to the authenticated user. Supports filtering by various attributes."
        },
        {
          "info": {
            "name": "Create Dashboard",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/v1/dashboards",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new dashboard in Sisense."
        },
        {
          "info": {
            "name": "Get Dashboard",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/dashboards/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Dashboard identifier"
              },
              {
                "name": "fields",
                "value": "",
                "type": "query",
                "description": "Fields to include in response"
              }
            ]
          },
          "docs": "Returns a specific dashboard by ID."
        },
        {
          "info": {
            "name": "Delete Dashboard",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/api/v1/dashboards/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Dashboard identifier"
              }
            ]
          },
          "docs": "Deletes a dashboard by ID."
        },
        {
          "info": {
            "name": "List All Dashboards (Admin)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/dashboards/admin",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Admin endpoint that returns all dashboards across all users. Requires admin privileges."
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/users",
            "params": [
              {
                "name": "fields",
                "value": "",
                "type": "query"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of users in the Sisense system."
        },
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user in Sisense."
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              }
            ]
          },
          "docs": "Returns a specific user by ID."
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{host}/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates specific fields of a user."
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User identifier"
              }
            ]
          },
          "docs": "Deletes a user from Sisense."
        }
      ]
    },
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/groups",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query"
              },
              {
                "name": "skip",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a list of user groups."
        },
        {
          "info": {
            "name": "Create Group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/v1/groups",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user group."
        },
        {
          "info": {
            "name": "Delete Group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{host}/api/v1/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Group identifier"
              }
            ]
          },
          "docs": "Deletes a user group."
        }
      ]
    },
    {
      "info": {
        "name": "Elasticubes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Elasticubes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/elasticubes/getElasticubes"
          },
          "docs": "Returns a list of all Elasticube data models."
        }
      ]
    },
    {
      "info": {
        "name": "Data Security",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Data Security Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{host}/api/v1/elasticubes/:server/:elasticube/datasecurity",
            "params": [
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "Server name (use 'LocalHost' for single-node)"
              },
              {
                "name": "elasticube",
                "value": "",
                "type": "path",
                "description": "Elasticube title"
              }
            ]
          },
          "docs": "Returns all data security rules for a specific Elasticube."
        },
        {
          "info": {
            "name": "Create Data Security Rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{host}/api/v1/elasticubes/:server/:elasticube/datasecurity",
            "params": [
              {
                "name": "server",
                "value": "",
                "type": "path",
                "description": "Server name"
              },
              {
                "name": "elasticube",
                "value": "",
                "type": "path",
                "description": "Elasticube title"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a data security rule for an Elasticube."
        }
      ]
    }
  ],
  "bundled": true
}