2019-11-23 00:56:21 +01:00

4161 lines
159 KiB
JSON

{
"openapi": "3.0.1",
"info": {
"title": "Access Management API",
"version": "v1"
},
"servers": [
{
"url": "/access-manager"
}
],
"paths": {
"/api/v{api-version}/ApiResources/getByName/{name}": {
"get": {
"tags": [
"ApiResources"
],
"operationId": "GetByName",
"parameters": [
{
"name": "name",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ApiResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ApiResource"
}
}
}
}
}
}
},
"/api/v{api-version}/ApiResources": {
"get": {
"tags": [
"ApiResources"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResource"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResource"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResource"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/ApiResources/{id}": {
"get": {
"tags": [
"ApiResources"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ApiResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ApiResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ApiResource"
}
}
}
}
}
}
},
"/api/v{api-version}/Applications/getByName/{name}": {
"get": {
"tags": [
"Applications"
],
"operationId": "GetByName",
"parameters": [
{
"name": "name",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
}
}
}
}
}
},
"/api/v{api-version}/Applications/getByClientId/{clientId}": {
"get": {
"tags": [
"Applications"
],
"operationId": "GetByClientId",
"parameters": [
{
"name": "clientId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
}
}
}
}
}
},
"/api/v{api-version}/Applications/{id}": {
"put": {
"tags": [
"Applications"
],
"operationId": "Update",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"title": "Application",
"required": [
"name",
"redirectUrls"
],
"type": "object",
"properties": {
"clientId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"redirectUrls": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
}
},
"application/json": {
"schema": {
"title": "Application",
"required": [
"name",
"redirectUrls"
],
"type": "object",
"properties": {
"clientId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"redirectUrls": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
}
},
"text/json": {
"schema": {
"title": "Application",
"required": [
"name",
"redirectUrls"
],
"type": "object",
"properties": {
"clientId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"redirectUrls": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
}
},
"application/*+json": {
"schema": {
"title": "Application",
"required": [
"name",
"redirectUrls"
],
"type": "object",
"properties": {
"clientId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"redirectUrls": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
}
}
}
}
},
"get": {
"tags": [
"Applications"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/Application"
}
}
}
}
}
}
},
"/api/v{api-version}/Applications": {
"get": {
"tags": [
"Applications"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Application"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Application"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Application"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/Claims": {
"get": {
"tags": [
"Claims"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/ExternalClaimForwardings/getByIdentityProviderId/{identityProviderId}": {
"get": {
"tags": [
"ExternalClaimForwardings"
],
"operationId": "GetByIdentityProviderId",
"parameters": [
{
"name": "identityProviderId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/ExternalClaimForwardings": {
"post": {
"tags": [
"ExternalClaimForwardings"
],
"operationId": "Create",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
}
}
},
"get": {
"tags": [
"ExternalClaimForwardings"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/ExternalClaimForwardings/{id}": {
"put": {
"tags": [
"ExternalClaimForwardings"
],
"operationId": "Update",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
}
}
},
"delete": {
"tags": [
"ExternalClaimForwardings"
],
"operationId": "Delete",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"get": {
"tags": [
"ExternalClaimForwardings"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimForwarding"
}
}
}
}
}
}
},
"/api/v{api-version}/ExternalClaimMappings/getByIdentityProviderId/{identityProviderId}": {
"get": {
"tags": [
"ExternalClaimMappings"
],
"operationId": "GetByIdentityProviderId",
"parameters": [
{
"name": "identityProviderId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/ExternalClaimMappings": {
"post": {
"tags": [
"ExternalClaimMappings"
],
"operationId": "Create",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
}
}
},
"get": {
"tags": [
"ExternalClaimMappings"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/ExternalClaimMappings/{id}": {
"put": {
"tags": [
"ExternalClaimMappings"
],
"operationId": "Update",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
}
}
},
"delete": {
"tags": [
"ExternalClaimMappings"
],
"operationId": "Delete",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"get": {
"tags": [
"ExternalClaimMappings"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ExternalClaimMapping"
}
}
}
}
}
}
},
"/api/v{api-version}/IdentityProviders/loginOptions": {
"get": {
"tags": [
"IdentityProviders"
],
"operationId": "GetLoginOptions",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LoginOption"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LoginOption"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LoginOption"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/IdentityProviders/getParametersForIdentityProviderType/{providerType}": {
"get": {
"tags": [
"IdentityProviders"
],
"operationId": "GetParametersForIdentityProviderType",
"parameters": [
{
"name": "providerType",
"in": "path",
"required": true,
"schema": {
"$ref": "#/components/schemas/IdentityProviderType"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/IdentityProviderParameters"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProviderParameters"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProviderParameters"
}
}
}
}
}
}
},
"/api/v{api-version}/IdentityProviders": {
"post": {
"tags": [
"IdentityProviders"
],
"operationId": "Create",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
}
}
},
"get": {
"tags": [
"IdentityProviders"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/IdentityProviders/{id}": {
"put": {
"tags": [
"IdentityProviders"
],
"operationId": "Update",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
}
}
},
"delete": {
"tags": [
"IdentityProviders"
],
"operationId": "Delete",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"get": {
"tags": [
"IdentityProviders"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/IdentityProvider"
}
}
}
}
}
}
},
"/api/v{api-version}/Suggestions/claimTypes": {
"get": {
"tags": [
"Suggestions"
],
"operationId": "GetClaimTypes",
"parameters": [
{
"name": "searchText",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/UserMappings/getByUserId/{userId}": {
"get": {
"tags": [
"UserMappings"
],
"operationId": "GetByUserId",
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
}
}
}
},
"/api/v{api-version}/UserMappings": {
"post": {
"tags": [
"UserMappings"
],
"operationId": "Create",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
}
}
},
"get": {
"tags": [
"UserMappings"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserMapping"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserMapping"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/UserMappings/{id}": {
"put": {
"tags": [
"UserMappings"
],
"operationId": "Update",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
}
}
},
"delete": {
"tags": [
"UserMappings"
],
"operationId": "Delete",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"get": {
"tags": [
"UserMappings"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserMapping"
}
}
}
}
}
}
},
"/api/v{api-version}/Users/{userId}/generateClientSecret": {
"post": {
"tags": [
"Users"
],
"operationId": "GenerateClientSecret",
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/Users/{userId}/clientSecrets/{secretId}": {
"put": {
"tags": [
"Users"
],
"operationId": "UpdateClientSecret",
"parameters": [
{
"name": "secretId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/UserClientSecret"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"delete": {
"tags": [
"Users"
],
"operationId": "DeleteClientSecret",
"parameters": [
{
"name": "userId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "secretId",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"204": {
"description": "Success"
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/Users/getByClientId/{clientId}": {
"get": {
"tags": [
"Users"
],
"operationId": "GetByClientId",
"parameters": [
{
"name": "clientId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/Users": {
"post": {
"tags": [
"Users"
],
"operationId": "Create",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/User"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
}
}
}
}
},
"get": {
"tags": [
"Users"
],
"operationId": "Get",
"parameters": [
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/User"
}
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"400": {
"description": "Bad Request",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
},
"500": {
"description": "Server Error",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/api/v{api-version}/Users/{id}": {
"put": {
"tags": [
"Users"
],
"operationId": "Update",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/User"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
}
}
}
}
},
"delete": {
"tags": [
"Users"
],
"operationId": "Delete",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"get": {
"tags": [
"Users"
],
"operationId": "Get",
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "api-version",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/User"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ApiResourceRole": {
"required": [
"key",
"name"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"key": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"apiResource": {
"$ref": "#/components/schemas/ApiResource"
}
},
"additionalProperties": false
},
"ApiResource": {
"required": [
"key",
"name"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"key": {
"maxLength": 256,
"pattern": "^[a-zA-Z0-9-_.]*$",
"type": "string",
"nullable": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"roles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResourceRole"
},
"nullable": true
}
},
"additionalProperties": false
},
"IInnerError": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"innerError": {
"$ref": "#/components/schemas/IInnerError"
}
},
"additionalProperties": false
},
"ErrorMessage": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
},
"localizedMessage": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ErrorMessage"
},
"nullable": true
},
"innerError": {
"$ref": "#/components/schemas/IInnerError"
},
"stackTrace": {
"type": "string",
"nullable": true
},
"innerException": {
"$ref": "#/components/schemas/ErrorMessage"
}
},
"additionalProperties": false
},
"ErrorResponse": {
"type": "object",
"properties": {
"errorMessage": {
"$ref": "#/components/schemas/ErrorMessage"
}
},
"additionalProperties": false
},
"Application": {
"required": [
"name",
"redirectUrls"
],
"type": "object",
"properties": {
"clientId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"redirectUrls": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"IdentityProviderType": {
"enum": [
"InternalUserClientStorage",
"OpenIdConnect",
"SAML2P",
"LDAP",
"Windows"
],
"type": "string"
},
"IdentityProviderParameters": {
"type": "object",
"additionalProperties": false
},
"IdentityProvider": {
"required": [
"key",
"name",
"parameters",
"type"
],
"type": "object",
"properties": {
"key": {
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_]*$",
"type": "string",
"nullable": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"isEnabled": {
"type": "boolean"
},
"description": {
"maxLength": 2048,
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/IdentityProviderType"
},
"iconUrl": {
"type": "string",
"nullable": true
},
"parameters": {
"$ref": "#/components/schemas/IdentityProviderParameters"
},
"redirectUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"postLogoutRedirectUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"validateUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"additionalProperties": false
},
"ExternalClaimForwarding": {
"required": [
"claimType",
"identityProviderId"
],
"type": "object",
"properties": {
"identityProviderId": {
"type": "integer",
"format": "int32"
},
"identityProvider": {
"title": "IdentityProvider",
"required": [
"key",
"name",
"parameters",
"type"
],
"type": "object",
"properties": {
"key": {
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_]*$",
"type": "string",
"nullable": true,
"readOnly": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true,
"readOnly": true
},
"isEnabled": {
"type": "boolean",
"readOnly": true
},
"description": {
"maxLength": 2048,
"type": "string",
"nullable": true,
"readOnly": true
},
"type": {
"title": "IdentityProviderType",
"enum": [
"InternalUserClientStorage",
"OpenIdConnect",
"SAML2P",
"LDAP",
"Windows"
],
"type": "string",
"readOnly": true
},
"iconUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"parameters": {
"title": "IdentityProviderParameters",
"type": "object",
"readOnly": true
},
"redirectUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"postLogoutRedirectUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"validateUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"readOnly": true
},
"claimType": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"additionalProperties": false
},
"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
},
"extensions": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": false
},
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"ApplicationLink": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"ApiResourceLink": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"ApiResourceRoleLink": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"ExternalClaimMapping": {
"required": [
"identityProviderId"
],
"type": "object",
"properties": {
"identityProviderId": {
"type": "integer",
"format": "int32"
},
"identityProvider": {
"title": "IdentityProvider",
"required": [
"key",
"name",
"parameters",
"type"
],
"type": "object",
"properties": {
"key": {
"maxLength": 64,
"pattern": "^[a-zA-Z0-9_]*$",
"type": "string",
"nullable": true,
"readOnly": true
},
"name": {
"maxLength": 256,
"type": "string",
"nullable": true,
"readOnly": true
},
"isEnabled": {
"type": "boolean",
"readOnly": true
},
"description": {
"maxLength": 2048,
"type": "string",
"nullable": true,
"readOnly": true
},
"type": {
"title": "IdentityProviderType",
"enum": [
"InternalUserClientStorage",
"OpenIdConnect",
"SAML2P",
"LDAP",
"Windows"
],
"type": "string",
"readOnly": true
},
"iconUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"parameters": {
"title": "IdentityProviderParameters",
"type": "object",
"readOnly": true
},
"redirectUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"postLogoutRedirectUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"validateUrl": {
"type": "string",
"nullable": true,
"readOnly": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"readOnly": true
},
"claimType": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"claimValue": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"applications": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApplicationLink"
},
"nullable": true
},
"apiResources": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResourceLink"
},
"nullable": true
},
"apiResourceRoles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResourceRoleLink"
},
"nullable": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"additionalProperties": false
},
"LoginOption": {
"required": [
"name"
],
"type": "object",
"properties": {
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"loginTriggerUrl": {
"type": "string",
"nullable": true
},
"iconUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UserClientSecret": {
"required": [
"clientSecret",
"expiresAt"
],
"type": "object",
"properties": {
"clientSecret": {
"maxLength": 4000,
"type": "string",
"nullable": true
},
"clientSecretUnHashed": {
"type": "string",
"nullable": true
},
"hint": {
"maxLength": 3,
"type": "string",
"nullable": true
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"additionalProperties": false
},
"User": {
"required": [
"identityProviderId",
"identityProviderKey",
"name",
"subject"
],
"type": "object",
"properties": {
"name": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"email": {
"maxLength": 256,
"type": "string",
"format": "email",
"nullable": true
},
"subject": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"identityProviderId": {
"type": "integer",
"format": "int32"
},
"identityProviderKey": {
"maxLength": 256,
"type": "string",
"nullable": true
},
"clientId": {
"type": "string",
"nullable": true
},
"lastLoginAt": {
"type": "string",
"format": "date-time",
"nullable": true
},
"clientSecrets": {
"maxLength": 2,
"type": "array",
"items": {
"$ref": "#/components/schemas/UserClientSecret"
},
"nullable": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"additionalProperties": false
},
"UserMapping": {
"required": [
"userId"
],
"type": "object",
"properties": {
"userId": {
"type": "integer",
"format": "int32"
},
"user": {
"title": "User",
"required": [
"identityProviderId",
"identityProviderKey",
"name",
"subject"
],
"type": "object",
"properties": {
"name": {
"maxLength": 256,
"type": "string",
"nullable": true,
"readOnly": true
},
"email": {
"maxLength": 256,
"type": "string",
"format": "email",
"nullable": true,
"readOnly": true
},
"subject": {
"maxLength": 256,
"type": "string",
"nullable": true,
"readOnly": true
},
"identityProviderId": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"identityProviderKey": {
"maxLength": 256,
"type": "string",
"nullable": true,
"readOnly": true
},
"clientId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"lastLoginAt": {
"type": "string",
"format": "date-time",
"nullable": true,
"readOnly": true
},
"clientSecrets": {
"maxLength": 2,
"type": "array",
"items": {
"$ref": "#/components/schemas/UserClientSecret"
},
"nullable": true,
"readOnly": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"readOnly": true
},
"applications": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApplicationLink"
},
"nullable": true
},
"apiResources": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResourceLink"
},
"nullable": true
},
"apiResourceRoles": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiResourceRoleLink"
},
"nullable": true
},
"createdBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"modifiedBy": {
"type": "integer",
"format": "int32",
"nullable": true,
"readOnly": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"modifiedAt": {
"type": "string",
"format": "date-time",
"readOnly": true
},
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
}
},
"additionalProperties": false
}
}
}
}