{"openapi": "3.0.1", "info": {"title": "Analytics Api", "description": "Analytics Api - v1.0", "version": "v1.0"}, "servers": [{"url": "https://api.qa.edgraph.com/tenant"}], "paths": {"/tenants/{tenantId}/analytics/datalake/query": {"get": {"tags": ["Analytics / Data Lake"], "summary": "Retrieves gold-tier data from the lakehouse", "operationId": "GetPaginatedLakehouseRecords", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string", "format": "uuid"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Lakehouses.V1.PaginatedLakehouseRecordsResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values."}}}}, "/tenants/{tenantId}/analytics/connectors/{connectorId}": {"delete": {"tags": ["Analytics Connectors"], "summary": "Deletes a connector by Id", "operationId": "DeleteConnector", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "connectorId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Connectors.V1.ConnectorDeletedResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "get": {"tags": ["Analytics Connectors"], "summary": "Retrieves a connector profile by Id", "operationId": "GetADLSGen2ConnectorById", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "connectorId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Extensions.ADLSGen2ConnectorProfileDTO"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values."}}}, "put": {"tags": ["Analytics Connectors"], "summary": "Updates a connector by Id", "operationId": "UpdateConnector", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "connectorId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {}}, "application/json": {"schema": {}}, "text/json": {"schema": {}}, "application/*+json": {"schema": {}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.ConnectorByTypeUpdatedResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/connectors": {"get": {"tags": ["Analytics Connectors"], "summary": "Retrieves paginated connectors", "operationId": "GetPaginatedConnectors", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.ConnectorsPaginatedItemsResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values."}}}, "post": {"tags": ["Analytics Connectors"], "summary": "Creates a new connector", "operationId": "CreateConnector", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {}}, "application/json": {"schema": {}}, "text/json": {"schema": {}}, "application/*+json": {"schema": {}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.ConnectorByTypeCreatedResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/userauthorizations/{userAuthorizationId}": {"delete": {"tags": ["Analytics UserAuthorizations"], "summary": "Soft Deletes a user authorization by Id", "operationId": "SoftDeleteUserAuthorization", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "userAuthorizationId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.UserAuthorizations.V1.UserAuthorizationSoftDeletedResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/userauthorizations": {"get": {"tags": ["Analytics UserAuthorizations"], "summary": "Retrieves paginated user authorizations", "operationId": "GetPaginatedUserAuthorizations", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.UserAuthorizations.V1.UserAuthorizationsPaginatedItemsResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values."}}}}, "/tenants/{tenantId}/analytics/capacities/resume": {"post": {"tags": ["Capacities"], "summary": "Resumes currently suspended capacity", "operationId": "ResumeCapacityAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.ResumeCapacityRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.ResumeCapacityRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.ResumeCapacityRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.ResumeCapacityRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/capacities/suspend": {"post": {"tags": ["Capacities"], "summary": "Suspends currently active capacity", "operationId": "SuspendCapacityAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.SuspendCapacityRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.SuspendCapacityRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.SuspendCapacityRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.SuspendCapacityRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/capacities": {"get": {"tags": ["Capacities"], "summary": "Retrieves a list of capacities in Power Bi that the user has access to.", "operationId": "GetAllAnalyticsPowerBiCapacities", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.CapacityResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "post": {"tags": ["Capacities"], "summary": "Assigns the specified group to the specified capacity.", "operationId": "AssignMyGroupToCapacity", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.AssignCapacityRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.AssignCapacityRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.AssignCapacityRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.AssignCapacityRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/configurations/{configurationId}": {"delete": {"tags": ["Configurations"], "summary": "Deletes a configuration.", "operationId": "DeleteAnalyticsConfigurationAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "configurationId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "get": {"tags": ["Configurations"], "summary": "Retrieves a configuration by ID.", "operationId": "GetAnalyticsConfigurationByIdAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "configurationId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsConfiguration"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "put": {"tags": ["Configurations"], "summary": "Updates a configuration.", "operationId": "UpdateAnalyticsConfigurationAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "configurationId", "in": "path", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.UpdateConfigurationRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.UpdateConfigurationRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.UpdateConfigurationRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.UpdateConfigurationRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.ConfigurationResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/configurations/azure/testconnection": {"post": {"tags": ["Configurations"], "summary": "Verifies if AAD token generation is possible with user provided values.", "operationId": "ValidateAADTokenAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.TestConnectionResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/configurations/default/valid": {"get": {"tags": ["Configurations"], "summary": "Verifies if current default configuration has required values for correct functionality.", "operationId": "HasValidAnalyticsConfigurationAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.HasValidConfigurationResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/configurations/default": {"get": {"tags": ["Configurations"], "summary": "Retrieves current default configuration.", "operationId": "GetAnalyticsConfigurationByTenantIdAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsConfiguration"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/configurations": {"get": {"tags": ["Configurations"], "summary": "Retrieves all configurations.", "operationId": "GetAllAnalyticsConfigurationsAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsConfigurationPaginatedItemsViewModel"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "post": {"tags": ["Configurations"], "summary": "Creates a new configuration.", "operationId": "CreateAnalyticsConfigurationAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "workspaceName", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.CreateConfigurationRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.CreateConfigurationRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.CreateConfigurationRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.CreateConfigurationRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsConfiguration"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/edfiadmin/connections": {"get": {"tags": ["Ed-Fi Instances"], "summary": "Retrieves a list of EdFi Admin connections", "operationId": "GetAllEdFiAdminConnectionsFromAnalyticsAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Missing the required permissions to access to this tenant/resource", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "Oops! Can't retrieve the list of EdFi Admin connections right now"}, "200": {"description": "List of EdFi Admin connections", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportPaginatedItemsResponse"}}}}, "400": {"description": "Tenant has missing/invalid values", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/edfiadmin/instances/{instanceId}": {"get": {"tags": ["Ed-Fi Instances"], "summary": "Retrieves an Ed-Fi Admin instance by ID.", "operationId": "GetEdFiAdminInstanceByIdFromAnalyticsAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "instanceId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.Instance"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/edfiadmin/instances": {"get": {"tags": ["Ed-Fi Instances"], "summary": "Retrieves a list of EdFi Admin instances", "operationId": "GetAllEdFiAdminInstancesFromAnalyticsAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Missing the required permissions to access to this tenant/resource", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "Oops! Can't retrieve the list of EdFi Admin instances right now"}, "200": {"description": "List of EdFi Admin instances", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportPaginatedItemsResponse"}}}}, "400": {"description": "Tenant has missing/invalid values", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/gateways": {"get": {"tags": ["Gateways"], "summary": "Retrieves a list of gateways in Power Bi that the user has access to.", "operationId": "GetAllAnalyticsGatewaysAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.Instance"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/groups/{groupId}/users/bulk": {"post": {"tags": ["Groups"], "summary": "Adds users to group.", "operationId": "AddUsersToGroupAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "groupId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.AddGroupUsersRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.AddGroupUsersRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.AddGroupUsersRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.AddGroupUsersRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/groups/{groupId}/users": {"get": {"tags": ["Groups"], "summary": "Retrieves all users for a specific group.", "operationId": "GetAnalyticsPowerBiGroupUsers", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "groupId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "skipFirstN", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32"}}, {"name": "topFirstN", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.GroupUsersResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/groups/{groupId}": {"delete": {"tags": ["Groups"], "summary": "Deletes a group.", "operationId": "DeleteAnalyticsPowerBiGroup", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "groupId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/groups": {"get": {"tags": ["Groups"], "summary": "Retrieves a list of groups.", "operationId": "GetGroupsAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.GroupsResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "post": {"tags": ["Groups"], "summary": "Creates a group.", "operationId": "CreateAnalyticsPowerBiGroup", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.CreateGroupRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.CreateGroupRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.CreateGroupRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.CreateGroupRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.GroupResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports/{reportId}/access": {"get": {"tags": ["Reports"], "summary": "Retrieves the audience-targeting (Manage Access) configuration for a report.", "operationId": "GetReportAccessAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Responses.ReportAccessResponseDto"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "put": {"tags": ["Reports"], "summary": "Updates the audience-targeting (Manage Access) configuration for a report.", "operationId": "UpdateReportAccessAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Requests.ReportAccessRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Requests.ReportAccessRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Requests.ReportAccessRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Requests.ReportAccessRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully updated.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportIdResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports/{reportId}/refresh-dates": {"get": {"tags": ["Reports"], "summary": "Retrieves when the data behind a report was last refreshed: the semantic model and the data warehouse.", "description": "Both dates are UTC ISO-8601 and are left out when unknown. Kept apart from the report itself so loading\r\nthe dates never delays or breaks the embed.", "operationId": "GetReportRefreshDatesAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportRefreshDatesResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports/{reportId}": {"delete": {"tags": ["Reports"], "summary": "Removes a report.", "operationId": "DeleteReportAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved."}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "get": {"tags": ["Reports"], "summary": "Retrieves a Report by ID.", "operationId": "GetReportByIdAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "put": {"tags": ["Reports"], "summary": "Updates a report.", "operationId": "UpdateReportAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"content": {"multipart/form-data": {"schema": {"type": "object", "properties": {"File": {"type": "string", "format": "binary"}, "Id": {"type": "string"}, "Name": {"type": "string"}, "ShortDescription": {"type": "string"}, "Description": {"type": "string"}, "Tags": {"type": "string"}, "IsVisible": {"type": "boolean"}, "Version": {"type": "string"}, "RolesRequired": {"type": "boolean"}, "IdentityRequired": {"type": "boolean"}, "State": {"type": "string"}}}, "encoding": {"File": {"style": "form"}, "Id": {"style": "form"}, "Name": {"style": "form"}, "ShortDescription": {"style": "form"}, "Description": {"style": "form"}, "Tags": {"style": "form"}, "IsVisible": {"style": "form"}, "Version": {"style": "form"}, "RolesRequired": {"style": "form"}, "IdentityRequired": {"style": "form"}, "State": {"style": "form"}}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.AnalyticsReport"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports/download/{reportId}/{groupId}": {"get": {"tags": ["Reports"], "summary": "Retrieves the PBIX for any report in the list in order to download.", "description": "Admin-only. This resolves the PowerBI artifact straight from its report/group ids, so it\r\ncannot apply the report's audience targeting the way the list and get-by-id paths do.\r\nRestricting it to Analytics.Admin \u2014 the role that bypasses audience targeting anyway \u2014\r\nkeeps a non-admin from downloading the source of a report they are not granted.", "operationId": "DownloadReportAsync", "parameters": [{"name": "tenantId", "in": "path", "required": true, "schema": {"type": "string"}}, {"name": "reportId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "groupId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.DownloadReportResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports/synclatestversion": {"post": {"tags": ["Reports"], "summary": "Sync latest version", "operationId": "SyncLatestVersion", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncLatestVersionRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncLatestVersionRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncLatestVersionRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncLatestVersionRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.EmptyResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports/sync": {"post": {"tags": ["Reports"], "summary": "Triggers workspace, ODS and DW automation.", "operationId": "SyncWorkspacesAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"description": "", "content": {"application/json-patch+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncWorkspacesRequest"}}, "application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncWorkspacesRequest"}}, "text/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncWorkspacesRequest"}}, "application/*+json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.SyncWorkspacesRequest"}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.EmptyResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/reports": {"get": {"tags": ["Reports"], "summary": "Retrieves all reports.", "operationId": "GetAllTenantAnalyticsWorkspaceReportsAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 10}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportPaginatedItemsResponse"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}, "post": {"tags": ["Reports"], "summary": "Creates a new report (Does not upload pbix file).", "operationId": "CreateReportAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}], "requestBody": {"content": {"multipart/form-data": {"schema": {"type": "object", "properties": {"File": {"type": "string", "format": "binary"}, "Name": {"type": "string"}, "ShortDescription": {"type": "string"}, "Description": {"type": "string"}, "Tags": {"type": "string"}, "IsVisible": {"type": "boolean"}, "Version": {"type": "string"}, "IdentityRequired": {"type": "boolean"}, "RolesRequired": {"type": "boolean"}, "State": {"type": "string"}}}, "encoding": {"File": {"style": "form"}, "Name": {"style": "form"}, "ShortDescription": {"style": "form"}, "Description": {"style": "form"}, "Tags": {"style": "form"}, "IsVisible": {"style": "form"}, "Version": {"style": "form"}, "IdentityRequired": {"style": "form"}, "RolesRequired": {"style": "form"}, "State": {"style": "form"}}}}}, "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "The requested resource was successfully retrieved.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportIdResponse"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "400": {"description": "Bad Request. The request was invalid and cannot be completed. See the response body for specific validation errors. This will typically be an issue with the query parameters or the request body values.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}, "/tenants/{tenantId}/analytics/users": {"get": {"tags": ["Reports"], "summary": "Searchable, paginated list of tenant users for the Manage Access \"specific users\" picker.", "operationId": "GetAnalyticsTenantUsersAsync", "parameters": [{"name": "tenantId", "in": "path", "description": "", "required": true, "schema": {"type": "string"}}, {"name": "pageSize", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 20}}, {"name": "pageIndex", "in": "query", "description": "", "schema": {"type": "integer", "format": "int32", "default": 0}}, {"name": "orderBy", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}, {"name": "filter", "in": "query", "description": "", "schema": {"type": "string", "default": ""}}], "responses": {"401": {"description": "Unauthorized. The request requires authentication. The OAuth bearer token was either not provided or is invalid. The operation may succeed once authentication has been successfully completed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/EdGraph.Common.Errors.Core.ProblemDetails"}}}}, "403": {"description": "Forbidden. The request cannot be completed in the current authorization context. Contact your administrator if you believe this operation should be allowed.", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}, "500": {"description": "An unhandled error occurred on the server.See the response body for details."}, "200": {"description": "Success", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/IdentityApi.User.V1.UserListResponsePaginatedItemsViewModel"}}}}, "400": {"description": "Bad Request", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"}}}}}}}}, "components": {"schemas": {"AnalyticsApi.ADLSGen2Connectors.V1.AuthenticationType": {"type": "object", "properties": {"servicePrincipalAuthentication": {"$ref": "#/components/schemas/AnalyticsApi.ADLSGen2Connectors.V1.ServicePrincipalAuthentication"}}, "additionalProperties": false}, "AnalyticsApi.ADLSGen2Connectors.V1.ServicePrincipalAuthentication": {"type": "object", "properties": {"azureTenantId": {"type": "string", "nullable": true}, "client": {"type": "string", "nullable": true}, "secret": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Capacities.V1.AnalyticsCapacity": {"type": "object", "properties": {"capacityId": {"type": "string", "nullable": true}, "displayName": {"type": "string", "nullable": true}, "sku": {"type": "string", "nullable": true}, "state": {"type": "string", "nullable": true}, "region": {"type": "string", "nullable": true}, "capacityUserAccessRight": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Capacities.V1.AssignCapacityRequest": {"type": "object", "properties": {"groupId": {"type": "string", "nullable": true}, "capacityId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Capacities.V1.CapacityResponse": {"type": "object", "properties": {"capacities": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Capacities.V1.AnalyticsCapacity"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Capacities.V1.ResumeCapacityRequest": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "dedicatedCapacityName": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Capacities.V1.SuspendCapacityRequest": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "dedicatedCapacityName": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.AnalyticsAzureAd": {"type": "object", "properties": {"clientId": {"type": "string", "nullable": true}, "azureTenantId": {"type": "string", "nullable": true}, "clientSecret": {"type": "string", "nullable": true}, "scopes": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.AnalyticsConfiguration": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "sqlConnectionString": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "useEdGraphPowerBi": {"type": "boolean"}, "isGlobalConfiguration": {"type": "boolean"}, "isDefaultTenantConfiguration": {"type": "boolean"}, "azureAd": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}, "powerBi": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsPowerBi"}, "selectedEdFiConnectionId": {"type": "string", "nullable": true}, "triggerOptions": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsTriggerOption"}, "nullable": true, "readOnly": true}, "schoolYears": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.AnalyticsConfigurationPaginatedItemsViewModel": {"type": "object", "properties": {"pageIndex": {"type": "integer", "format": "int32"}, "pageSize": {"type": "integer", "format": "int32"}, "count": {"type": "integer", "format": "int64"}, "data": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsConfiguration"}, "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.AnalyticsPowerBi": {"type": "object", "properties": {"capacityId": {"type": "string", "nullable": true}, "groupId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.AnalyticsTriggerOption": {"type": "object", "properties": {"startTime": {"type": "string", "nullable": true}, "endTime": {"type": "string", "nullable": true}, "recurrence": {"type": "string", "nullable": true}, "timeZone": {"type": "string", "nullable": true}, "interval": {"type": "integer", "format": "int32", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.ConfigurationResponse": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.CreateConfigurationRequest": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "sqlConnectionString": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "useEdGraphPowerBi": {"type": "boolean", "nullable": true}, "isGlobalConfiguration": {"type": "boolean", "nullable": true}, "isDefaultTenantConfiguration": {"type": "boolean", "nullable": true}, "azureAd": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}, "powerBi": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsPowerBi"}, "selectedEdFiConnectionId": {"type": "string", "nullable": true}, "triggerOptions": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsTriggerOption"}, "nullable": true, "readOnly": true}, "schoolYears": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.HasValidConfigurationResponse": {"type": "object", "properties": {"isConfigurationValid": {"type": "boolean"}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.TestConnectionResponse": {"type": "object", "properties": {"isConnectionSuccessful": {"type": "boolean"}}, "additionalProperties": false}, "AnalyticsApi.Configurations.V1.UpdateConfigurationRequest": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "sqlConnectionString": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "useEdGraphPowerBi": {"type": "boolean", "nullable": true}, "isGlobalConfiguration": {"type": "boolean", "nullable": true}, "isDefaultTenantConfiguration": {"type": "boolean", "nullable": true}, "azureAd": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsAzureAd"}, "powerBi": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsPowerBi"}, "selectedEdFiConnectionId": {"type": "string", "nullable": true}, "triggerOptions": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Configurations.V1.AnalyticsTriggerOption"}, "nullable": true, "readOnly": true}, "schoolYears": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Connectors.V1.ConnectorDeletedResponse": {"type": "object", "properties": {"connectorId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Groups.V1.AddGroupUsersRequest": {"type": "object", "properties": {"groupId": {"type": "string", "nullable": true}, "users": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.AnalyticsGroupUser"}, "nullable": true, "readOnly": true}, "addGlobalTenantUsers": {"type": "boolean"}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Groups.V1.AnalyticsGroupUser": {"type": "object", "properties": {"displayName": {"type": "string", "nullable": true}, "emailAddress": {"type": "string", "nullable": true}, "groupUserAccessRight": {"type": "string", "nullable": true}, "identifier": {"type": "string", "nullable": true}, "principalType": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Groups.V1.CreateGroupRequest": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "groupName": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Groups.V1.GroupResponse": {"type": "object", "properties": {"groupId": {"type": "string", "nullable": true}, "groupName": {"type": "string", "nullable": true}, "capacityId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Groups.V1.GroupUsersResponse": {"type": "object", "properties": {"groupUsers": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.AnalyticsGroupUser"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Groups.V1.GroupsResponse": {"type": "object", "properties": {"groups": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Groups.V1.GroupResponse"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Lakehouses.V1.LakehouseRecord": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "schoolYear": {"type": "integer", "format": "int32"}, "dataStandardName": {"type": "string", "nullable": true}, "dataStandardVersion": {"type": "string", "nullable": true}, "entityName": {"type": "string", "nullable": true}, "resourceKeyHash": {"type": "string", "nullable": true}, "jsonPayload": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Lakehouses.V1.PaginatedLakehouseRecordsResponse": {"type": "object", "properties": {"pageIndex": {"type": "integer", "format": "int32"}, "pageSize": {"type": "integer", "format": "int32"}, "count": {"type": "integer", "format": "int64"}, "data": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Lakehouses.V1.LakehouseRecord"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.AnalyticsEmbedToken": {"type": "object", "properties": {"token": {"type": "string", "nullable": true}, "tokenId": {"type": "string", "nullable": true}, "expiration": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.AnalyticsReport": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "reportId": {"type": "string", "nullable": true}, "groupId": {"type": "string", "nullable": true}, "datasetIds": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.AnalyticsReportDataset"}, "nullable": true, "readOnly": true}, "name": {"type": "string", "nullable": true}, "reportName": {"type": "string", "nullable": true}, "shortDescription": {"type": "string", "nullable": true}, "description": {"type": "string", "nullable": true}, "embedUrl": {"type": "string", "nullable": true}, "type": {"type": "string", "nullable": true}, "source": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.ReportSource"}, "isVisible": {"type": "boolean"}, "tags": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "deletedBy": {"type": "string", "nullable": true}, "deletedDateTime": {"type": "string", "nullable": true}, "lastUploadedBy": {"type": "string", "nullable": true}, "lastUploadedDateTime": {"type": "string", "nullable": true}, "downloadUri": {"type": "string", "nullable": true}, "version": {"type": "string", "nullable": true}, "rolesRequired": {"type": "boolean", "nullable": true}, "identityRequired": {"type": "boolean", "nullable": true}, "state": {"type": "string", "nullable": true}}, "additionalProperties": false, "description": "Entities"}, "AnalyticsApi.Reports.V1.AnalyticsReportDataset": {"type": "object", "properties": {"datasetId": {"type": "string", "nullable": true}, "isEffectiveIdentityRequired": {"type": "boolean"}, "isEffectiveIdentityRolesRequired": {"type": "boolean"}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.DownloadReportResponse": {"type": "object", "properties": {"content": {"type": "array", "items": {"type": "integer", "format": "int32"}, "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.EmptyResponse": {"type": "object", "additionalProperties": false}, "AnalyticsApi.Reports.V1.ReportIdResponse": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.ReportPaginatedItemsResponse": {"type": "object", "properties": {"pageIndex": {"type": "integer", "format": "int32"}, "pageSize": {"type": "integer", "format": "int32"}, "count": {"type": "integer", "format": "int64"}, "data": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.AnalyticsReport"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.ReportRefreshDatesResponse": {"type": "object", "properties": {"semanticModelRefreshedDateTime": {"type": "string", "description": "UTC ISO-8601 end time of the latest completed Power BI semantic model refresh. Absent when unknown.", "nullable": true}, "dataWarehouseRefreshedDateTime": {"type": "string", "description": "UTC ISO-8601 time the report tenant's data warehouse last finished loading. Absent when unknown.", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.ReportResponse": {"type": "object", "properties": {"embedToken": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.AnalyticsEmbedToken"}, "report": {"$ref": "#/components/schemas/AnalyticsApi.Reports.V1.AnalyticsReport"}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.ReportSource": {"enum": ["Edgraph", "External"], "type": "string", "description": "Enums"}, "AnalyticsApi.Reports.V1.SyncLatestVersionRequest": {"type": "object", "properties": {"configurationId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "reportId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.Reports.V1.SyncWorkspacesRequest": {"type": "object", "properties": {"configurationId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "resetInstance": {"type": "boolean", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.UserAuthorizations.V1.SchoolYear": {"type": "object", "properties": {"value": {"type": "integer", "format": "int32", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.UserAuthorizations.V1.UserAuthorizationSoftDeletedResponse": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.UserAuthorizations.V1.UserAuthorizationsListResponse": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "userId": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "userUniqueId": {"type": "string", "nullable": true}, "userEmail": {"type": "string", "nullable": true}, "userType": {"type": "string", "nullable": true}, "userRole": {"type": "string", "nullable": true}, "source": {"type": "string", "nullable": true}, "authorizedScope": {"type": "string", "nullable": true}, "authorizedId": {"type": "string", "nullable": true}, "authorizedBeginDate": {"type": "string", "nullable": true}, "authorizedEndDate": {"type": "string", "nullable": true}, "schoolYear": {"$ref": "#/components/schemas/AnalyticsApi.UserAuthorizations.V1.SchoolYear"}, "isDeleted": {"type": "boolean"}, "deletedBy": {"type": "string", "nullable": true}, "deletedDateTime": {"type": "string", "nullable": true}}, "additionalProperties": false}, "AnalyticsApi.UserAuthorizations.V1.UserAuthorizationsPaginatedItemsResponse": {"type": "object", "properties": {"pageIndex": {"type": "integer", "format": "int32"}, "pageSize": {"type": "integer", "format": "int32"}, "count": {"type": "integer", "format": "int64"}, "data": {"type": "array", "items": {"$ref": "#/components/schemas/AnalyticsApi.UserAuthorizations.V1.UserAuthorizationsListResponse"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "EdGraph.Common.Errors.Core.ProblemDetails": {"type": "object", "properties": {"type": {"type": "string"}, "status": {"type": "integer", "format": "int32"}, "title": {"type": "string"}, "details": {"type": "string", "nullable": true}, "instance": {"type": "string", "nullable": true}, "extensions": {"type": "object", "additionalProperties": {"nullable": true}, "readOnly": true}}, "additionalProperties": false}, "EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Extensions.ADLSGen2ConnectorProfileDTO": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "connectorType": {"type": "string", "nullable": true}, "connectorName": {"type": "string", "nullable": true}, "workspaceName": {"type": "string", "nullable": true}, "authenticationType": {"$ref": "#/components/schemas/AnalyticsApi.ADLSGen2Connectors.V1.AuthenticationType"}, "pipeline": {"$ref": "#/components/schemas/EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Extensions.ADLSGen2ConnectorProfilePipelineDTO"}, "metadata": {"nullable": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "isDeleted": {"type": "boolean"}, "deletedBy": {"type": "string", "nullable": true}, "deletedDateTime": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Extensions.ADLSGen2ConnectorProfilePipelineDTO": {"type": "object", "properties": {"name": {"type": "string", "nullable": true}, "parameters": {"nullable": true}}, "additionalProperties": false}, "EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.ConnectorByTypeCreatedResponse": {"type": "object", "properties": {"connectorId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.ConnectorByTypeUpdatedResponse": {"type": "object", "properties": {"connectorId": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.ConnectorsPaginatedItemsResponse": {"type": "object", "properties": {"count": {"type": "integer", "format": "int64"}, "pageSize": {"type": "integer", "format": "int32"}, "pageIndex": {"type": "integer", "format": "int32"}, "data": {"type": "array", "items": {"$ref": "#/components/schemas/EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.MappedConnectorListResponse"}, "nullable": true}}, "additionalProperties": false}, "EdGraph.HttpAggregators.Tenant.Api.Services.Connectors.Responses.MappedConnectorListResponse": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "nullable": true}, "connectorName": {"type": "string", "nullable": true}, "connectorType": {"type": "string", "nullable": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "isDeleted": {"type": "boolean"}, "deletedBy": {"type": "string", "nullable": true}, "deletedDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "properties": {"nullable": true}}, "additionalProperties": false}, "EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Requests.ReportAccessRequest": {"type": "object", "properties": {"targetAudience": {"type": "string", "nullable": true}, "staffClassifications": {"type": "array", "items": {"type": "string"}, "description": "Targeted EdFi staff classifications (`namespace#codeValue`).", "nullable": true}, "users": {"type": "array", "items": {"type": "string"}, "nullable": true}}, "additionalProperties": false, "description": "Payload for setting a report's audience targeting. EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Requests.ReportAccessRequest.TargetAudience is one of\r\n\"AnyoneInTenant\", \"UsersWithRoleInTenant\", or \"SpecificUsersInTenant\"."}, "EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Responses.ReportAccessResponseDto": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "reportId": {"type": "string", "nullable": true}, "targetAudience": {"type": "string", "nullable": true}, "staffClassifications": {"type": "array", "items": {"type": "string"}, "nullable": true}, "users": {"type": "array", "items": {"type": "string"}, "nullable": true}}, "additionalProperties": false, "description": "A report's audience targeting, returned with EdGraph.Platform.HttpAggregators.Tenant.Api.Controllers.v1.ViewModels.Responses.ReportAccessResponseDto.TargetAudience as a stable\r\nstring (\"AnyoneInTenant\" | \"UsersWithRoleInTenant\" | \"SpecificUsersInTenant\") so the client\r\ndoes not depend on proto enum serialization."}, "EdfiAdminApi.EdfiAdmin.V1.EdFiConnection": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "connectionName": {"type": "string", "nullable": true}, "databaseEngine": {"type": "string", "nullable": true}, "edFiVersion": {"type": "string", "nullable": true}, "edFiExtension": {"type": "string", "nullable": true}, "hostingProvider": {"type": "string", "nullable": true}, "allowedTenantIds": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "tiers": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.EdFiConnectionTier"}, "nullable": true, "readOnly": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "connectionType": {"type": "string", "nullable": true}, "instanceType": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceType"}, "deletedBy": {"type": "string", "nullable": true}, "deletedDateTime": {"type": "string", "nullable": true}, "isDeleted": {"type": "boolean", "nullable": true}, "metadataJson": {"type": "string", "nullable": true}, "dmsSurfaceJson": {"type": "string", "description": "Privileged connection administration; removed from ordinary tenant detail responses.", "nullable": true}, "dmsSurface": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.EdFiConnectionDmsSurface"}, "surfaceSetupStatus": {"type": "string", "description": "The surface's setup job (EdGraphManagedDms): Running, Succeeded, Failed or SubmitFailed; unset for a surface set\r\nup by hand.", "nullable": true}, "surfaceSetupAttempt": {"type": "integer", "format": "int32", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.EdFiConnectionDmsSurface": {"type": "object", "properties": {"surfaceId": {"type": "string", "nullable": true}, "engine": {"type": "string", "nullable": true}, "dataStandard": {"type": "string", "nullable": true}, "extensions": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "surfaceStatus": {"type": "string", "nullable": true}, "dmsPublicBaseUrl": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.EdFiConnectionTier": {"type": "object", "properties": {"tierId": {"type": "string", "nullable": true}, "tierName": {"type": "string", "nullable": true}, "odsApiConnection": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.TierOdsApiConnection"}, "sqlConnection": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.TierSqlConnection"}, "adminApiUrl": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.Instance": {"type": "object", "properties": {"id": {"type": "string", "description": "Details", "nullable": true}, "instanceName": {"type": "string", "nullable": true}, "useCustomId": {"type": "boolean"}, "customId": {"type": "string", "nullable": true}, "description": {"type": "string", "nullable": true}, "connectionName": {"type": "string", "nullable": true}, "selectedConnectionId": {"type": "string", "description": "Connection", "nullable": true}, "selectedConnection": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.EdFiConnection"}, "databases": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDatabases"}, "password": {"type": "string", "description": "API Client", "nullable": true}, "apiClientKey": {"type": "string", "nullable": true}, "apiClientSecret": {"type": "string", "nullable": true}, "isApiClientSecretSecured": {"type": "string", "nullable": true}, "tenantId": {"type": "string", "description": "Metadata", "nullable": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "isDeleted": {"type": "boolean"}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "apiAuthUrl": {"type": "string", "description": "URLs", "nullable": true}, "apiResourcesUrls": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "apiCompositesUrls": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "selectedConnectionType": {"type": "string", "description": "Connection", "nullable": true}, "isDefault": {"type": "boolean", "description": "IsDefault", "nullable": true}, "provider": {"type": "string", "description": "Provider", "nullable": true}, "onboarding": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.Onboarding"}, "applications": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceApplicationProfileResponse"}, "description": "Applications", "nullable": true, "readOnly": true}, "relatedInstances": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.RelatedInstance"}, "nullable": true, "readOnly": true}, "enableAdminApi": {"type": "boolean", "description": "Enable Admin API", "nullable": true}, "state": {"type": "string", "nullable": true}, "requiresSchoolYearSelection": {"type": "boolean", "nullable": true}, "dms": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDms"}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceApiClientProfileResponse": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "instanceId": {"type": "string", "nullable": true}, "instanceApplicationId": {"type": "string", "nullable": true}, "apiClientId": {"type": "string", "nullable": true}, "key": {"type": "string", "nullable": true}, "secretName": {"type": "string", "nullable": true}, "secretValue": {"type": "string", "nullable": true}, "secretValueRaw": {"type": "string", "nullable": true}, "secretValueType": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.SecretValueType"}, "secretValueEncryptionKey": {"type": "string", "nullable": true}, "secretEncryptionMetadata": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.SecretEncryptionMetadata"}, "nullable": true, "readOnly": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceApplicationProfileResponse": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "instanceId": {"type": "string", "nullable": true}, "instanceApplicationId": {"type": "string", "nullable": true}, "name": {"type": "string", "nullable": true}, "apiClients": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceApiClientProfileResponse"}, "nullable": true, "readOnly": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceDatabase": {"type": "object", "properties": {"selectedTierId": {"type": "string", "nullable": true}, "selectedTierName": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "jobs": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDatabaseJobs"}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceDatabaseJobs": {"type": "object", "properties": {"createJobId": {"type": "string", "nullable": true}, "deleteJobId": {"type": "string", "nullable": true}, "resetDeleteJobId": {"type": "string", "nullable": true}, "resetCreateJobId": {"type": "string", "nullable": true}, "generateReportsJobId": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceDatabases": {"type": "object", "properties": {"admin": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDatabase"}, "security": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDatabase"}, "ods": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceOdsDatabase"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceDms": {"type": "object", "properties": {"surfaceId": {"type": "string", "nullable": true}, "cmsTenant": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "years": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDmsYear"}, "nullable": true, "readOnly": true}, "activeOperationKind": {"type": "string", "nullable": true}, "lastOperationKind": {"type": "string", "nullable": true}, "lastOperationStatus": {"type": "string", "nullable": true}, "lastJobId": {"type": "string", "nullable": true}, "lastExecutionId": {"type": "string", "nullable": true}, "enableKafkaCdc": {"type": "boolean"}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceDmsYear": {"type": "object", "properties": {"schoolYear": {"type": "integer", "format": "int32"}, "databaseName": {"type": "string", "nullable": true}, "dataStoreId": {"type": "integer", "format": "int32", "nullable": true}, "seed": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "tier": {"type": "string", "nullable": true}, "resetOrdinal": {"type": "integer", "format": "int32"}, "lastStep": {"type": "string", "nullable": true}, "lastStepStatus": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceOdsDatabase": {"type": "object", "properties": {"selectedTierId": {"type": "string", "nullable": true}, "selectedTierName": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "jobs": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.InstanceDatabaseJobs"}, "year": {"type": "integer", "format": "int32"}, "odsBackupCode": {"type": "string", "nullable": true}, "odsBackupDescription": {"type": "string", "nullable": true}, "pendingApplicationAccessIds": {"type": "array", "items": {"type": "integer", "format": "int32"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.InstanceType": {"enum": ["Unknown", "Edfi", "OpenEducationAnalytics", "Stadium"], "type": "string"}, "EdfiAdminApi.EdfiAdmin.V1.OdsApiConnectionEndpoint": {"type": "object", "properties": {"accessTypeId": {"type": "string", "nullable": true}, "compositesUrl": {"type": "string", "nullable": true}, "resourcesUrl": {"type": "string", "nullable": true}, "discoveryUrl": {"type": "string", "nullable": true}, "discoveryDocument": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.OdsApiDiscoveryApi"}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.OdsApiDiscoveryApi": {"type": "object", "properties": {"version": {"type": "string", "nullable": true}, "informationalVersion": {"type": "string", "nullable": true}, "suite": {"type": "string", "nullable": true}, "build": {"type": "string", "nullable": true}, "dataModels": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.OdsApiDiscoveryApiDataModel"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.OdsApiDiscoveryApiDataModel": {"type": "object", "properties": {"name": {"type": "string", "nullable": true}, "version": {"type": "string", "nullable": true}, "informationalVersion": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.Onboarding": {"type": "object", "properties": {"status": {"type": "string", "nullable": true}, "progressPercentage": {"type": "number", "format": "float"}, "totalSteps": {"type": "integer", "format": "int32"}, "lastCompletedStep": {"type": "integer", "format": "int32", "nullable": true}, "startedAt": {"type": "string", "nullable": true}, "completedAt": {"type": "string", "nullable": true}, "steps": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.OnboardingStep"}, "nullable": true, "readOnly": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.OnboardingStep": {"type": "object", "properties": {"number": {"type": "integer", "format": "int32"}, "description": {"type": "string", "nullable": true}, "status": {"type": "string", "nullable": true}, "startedAt": {"type": "string", "nullable": true}, "completedAt": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.RelatedInstance": {"type": "object", "properties": {"id": {"type": "string", "nullable": true}, "provider": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.SecretEncryptionMetadata": {"type": "object", "properties": {"name": {"type": "string", "nullable": true}, "value": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.SecretValueType": {"enum": ["Unknown", "Obfuscated", "Encrypted"], "type": "string"}, "EdfiAdminApi.EdfiAdmin.V1.TierOdsApiConnection": {"type": "object", "properties": {"clientId": {"type": "string", "nullable": true}, "clientSecret": {"type": "string", "nullable": true}, "tokenUrl": {"type": "string", "nullable": true}, "endpoints": {"type": "array", "items": {"$ref": "#/components/schemas/EdfiAdminApi.EdfiAdmin.V1.OdsApiConnectionEndpoint"}, "nullable": true, "readOnly": true}, "metadataUrl": {"type": "string", "nullable": true}}, "additionalProperties": false}, "EdfiAdminApi.EdfiAdmin.V1.TierSqlConnection": {"type": "object", "properties": {"sqlServer": {"type": "string", "nullable": true}, "sqlServerUserName": {"type": "string", "nullable": true}, "sqlServerPassword": {"type": "string", "nullable": true}, "azureSubscriptionId": {"type": "string", "nullable": true}, "azureResourceGroupName": {"type": "string", "nullable": true}, "azureServerName": {"type": "string", "nullable": true}, "azureServerElasticPoolName": {"type": "string", "nullable": true}}, "additionalProperties": false}, "IdentityApi.User.V1.ComputedLicense": {"type": "object", "properties": {"applicationId": {"type": "string", "nullable": true}, "applicationName": {"type": "string", "nullable": true}, "applicationRole": {"type": "array", "items": {"$ref": "#/components/schemas/IdentityApi.User.V1.ComputedLicenseApplicationRole"}, "nullable": true, "readOnly": true}, "applicationTenantId": {"type": "string", "nullable": true}, "assignedLicenses": {"type": "integer", "format": "int32", "nullable": true}, "isTenantSubscribed": {"type": "boolean", "nullable": true}, "isUserLicensed": {"type": "boolean", "nullable": true}, "numberOfLicenses": {"type": "integer", "format": "int32", "nullable": true}, "subscriptionTenantId": {"type": "string", "nullable": true}, "tenantSubscriptionActualEndDateTime": {"type": "string", "nullable": true}, "tenantSubscriptionEndDateTime": {"type": "string", "nullable": true}, "tenantSubscriptionId": {"type": "string", "nullable": true}, "tenantSubscriptionStartDateTime": {"type": "string", "nullable": true}, "deletedAt": {"type": "string", "nullable": true}, "status": {"$ref": "#/components/schemas/IdentityApi.User.V1.LicenseStatus"}}, "additionalProperties": false}, "IdentityApi.User.V1.ComputedLicenseApplicationRole": {"type": "object", "properties": {"role": {"type": "string", "nullable": true}, "isAssigned": {"type": "boolean", "nullable": true}, "displayName": {"type": "string", "nullable": true}, "description": {"type": "string", "nullable": true}, "sortOrder": {"type": "integer", "format": "int32", "nullable": true}}, "additionalProperties": false}, "IdentityApi.User.V1.EducationOrganization": {"type": "object", "properties": {"educationOrganizationId": {"type": "integer", "format": "int32"}, "shortNameOfInstitution": {"type": "string", "nullable": true}, "nameOfInstitution": {"type": "string", "nullable": true}, "staffClassifications": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "source": {"type": "string", "nullable": true}}, "additionalProperties": false}, "IdentityApi.User.V1.LicenseStatus": {"enum": ["Unknown", "Active", "Expired"], "type": "string"}, "IdentityApi.User.V1.Tenant": {"type": "object", "properties": {"tenantId": {"type": "string", "nullable": true}, "status": {"$ref": "#/components/schemas/IdentityApi.User.V1.TenantStatus"}, "source": {"$ref": "#/components/schemas/IdentityApi.User.V1.TenantSource"}, "roles": {"type": "array", "items": {"type": "string"}, "nullable": true, "readOnly": true}, "educationOrganizations": {"type": "array", "items": {"$ref": "#/components/schemas/IdentityApi.User.V1.EducationOrganization"}, "nullable": true, "readOnly": true, "deprecated": true}, "licenses": {"type": "array", "items": {"$ref": "#/components/schemas/IdentityApi.User.V1.ComputedLicense"}, "nullable": true, "readOnly": true}, "organizationName": {"type": "string", "nullable": true}}, "additionalProperties": false}, "IdentityApi.User.V1.TenantSource": {"enum": ["Unknown", "Manual", "PartnershipSync", "EdFiSync"], "type": "string"}, "IdentityApi.User.V1.TenantStatus": {"enum": ["Unknown", "Active", "Inactive"], "type": "string"}, "IdentityApi.User.V1.UserListResponse": {"type": "object", "properties": {"userId": {"type": "string", "nullable": true}, "userName": {"type": "string", "nullable": true}, "email": {"type": "string", "nullable": true}, "firstName": {"type": "string", "nullable": true}, "lastName": {"type": "string", "nullable": true}, "tenantCount": {"type": "integer", "format": "int32"}, "tenants": {"type": "array", "items": {"$ref": "#/components/schemas/IdentityApi.User.V1.Tenant"}, "nullable": true, "readOnly": true}, "createdBy": {"type": "string", "nullable": true}, "createdDateTime": {"type": "string", "nullable": true}, "lastModifiedBy": {"type": "string", "nullable": true}, "lastModifiedDateTime": {"type": "string", "nullable": true}, "logins": {"type": "array", "items": {"$ref": "#/components/schemas/IdentityApi.User.V1.UserLogin"}, "nullable": true, "readOnly": true}, "source": {"type": "string", "nullable": true}, "lastLoginDateTime": {"type": "string", "nullable": true}, "mfaCompleted": {"type": "boolean"}}, "additionalProperties": false}, "IdentityApi.User.V1.UserListResponsePaginatedItemsViewModel": {"type": "object", "properties": {"pageIndex": {"type": "integer", "format": "int32"}, "pageSize": {"type": "integer", "format": "int32"}, "count": {"type": "integer", "format": "int64"}, "data": {"type": "array", "items": {"$ref": "#/components/schemas/IdentityApi.User.V1.UserListResponse"}, "nullable": true}}, "additionalProperties": false}, "IdentityApi.User.V1.UserLogin": {"type": "object", "properties": {"loginProvider": {"type": "string", "nullable": true}, "providerDisplayName": {"type": "string", "nullable": true}}, "additionalProperties": false}, "Microsoft.AspNetCore.Mvc.ProblemDetails": {"type": "object", "properties": {"type": {"type": "string", "nullable": true}, "title": {"type": "string", "nullable": true}, "status": {"type": "integer", "format": "int32", "nullable": true}, "detail": {"type": "string", "nullable": true}, "instance": {"type": "string", "nullable": true}}, "additionalProperties": {}}}, "securitySchemes": {"oauth2": {"type": "oauth2", "description": "Use bearer token generated from an OpenId server", "flows": {"clientCredentials": {"tokenUrl": "https://login.qa.edgraph.com/connect/token", "scopes": {"https://api.edgraph.com/auth/tenant": "EdGraph Platform - Tenant Api"}}}}}}, "security": [{"oauth2": ["https://api.edgraph.com/auth/tenant"]}]}