9478 lines
262 KiB
JSON
9478 lines
262 KiB
JSON
{
|
|
"openapi": "3.0.1",
|
|
"info": {
|
|
"title": "xSaherElm Identity Server API",
|
|
"description": "Complete API Documentation",
|
|
"contact": {
|
|
"name": "Hadi Khazaee Asl",
|
|
"url": "https://www.saherelm.ir",
|
|
"email": "hadi_khazaee_asl@yahoo.com"
|
|
},
|
|
"version": "v1.0"
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://localhost:4001"
|
|
}
|
|
],
|
|
"paths": {
|
|
"/Account/Ban": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Ban Specific Users",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XUserNameIdRequest</see> which represents user identifier list to Ban",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/UnBan": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "UnBann Specific Users",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XUserNameIdRequest</see> which represents user identifier list to Ban",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/IsBanned/{userSelectByParam}": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check Specific User is Banned or not",
|
|
"parameters": [
|
|
{
|
|
"name": "userSelectByParam",
|
|
"in": "path",
|
|
"description": "specified user's identifier",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/DiscoveryDocument": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Retrieve OAuth Discovery Document",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/DiscoveryDocumentResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RequestScopeAccessToken": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Request AccessToken for Specific XApiScope",
|
|
"parameters": [
|
|
{
|
|
"name": "scope",
|
|
"in": "header",
|
|
"description": "a member of <see>XApiScope</see>",
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiScope"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XTokenResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Authenticate": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Authenticate User",
|
|
"description": "Sample request:\r\n\r\n {\r\n \"password\": \"\",\r\n \"userSelectBy\": \"\",\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XLoginRequest</see> class which represent Authentication requirements",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XTokenResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Login": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Authenticate User",
|
|
"description": "Sample request:\r\n\r\n {\r\n \"language\": \"fa-IR\"\r\n \"password\": \"\",\r\n \"userSelectBy\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XLoginRequest</see> class which represent Authentication requirements",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XLoginResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RefreshTokens": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Refresh Expired Tokens",
|
|
"description": "in addition to AccessToken, you had to pass RefreshToken due to Headers",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XTokenResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/ChangePassword": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Change a User's Password ...",
|
|
"description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - NewPassword: user's new password to change.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"password\": \"\"\r\n \"newPassword\": \"\",\r\n \"returnUrl\": \"http://localhost/login\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/Follow": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Follow a User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/Cancel": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Cancel Following",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/UnFollowFollower": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Unfollow a Follower",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/UnFollowFollowing": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Unfollow Following",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/Block": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Block a Follower",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/UnBlock": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Unblock a Blocked User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "an instance of <see>XFriendshipFollowing</see>",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/AcceptRequest": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Accept a Following Request",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/RejectRequest": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Reject a Following Request",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/IsFollower": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check a User IsFollower of Requested User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/FollowerState": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Follower State of a User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/Follower": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Specific Follower",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/Followers": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Followers List Of Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendshipFollower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/AllFollowers": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendshipFollower"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/QueryFollowers": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "query",
|
|
"description": "an string for filtering results",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "query",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "query",
|
|
"description": "specifiy sorting of items",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "query",
|
|
"description": "specify sorting direction",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "query",
|
|
"description": "specify page number",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"description": "specify page size",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "destUser",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/IsFollowing": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check a User is in Followings of Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/FollowingState": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Following State Relation between Specific User \r\nand Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/Following": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Specific Following Model",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/Followings": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Followings of Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/AllFollowings": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get All Following List Includes Blocked, Requested and etc \r\nof Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/QueryFollowings": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get All Following List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "query",
|
|
"description": "an string for filtering results",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "query",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "query",
|
|
"description": "specifiy sorting of items",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "query",
|
|
"description": "specify sorting direction",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "query",
|
|
"description": "specify page number",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"description": "specify page size",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "destUser",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/FollowingsList": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Return Following UserName's List of Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/FollowersList": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Return Followers UserName's List of Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Friendship/{destUser}/FriendshipInfo": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Friendship Info Model between Specific User and Current User",
|
|
"parameters": [
|
|
{
|
|
"name": "destUser",
|
|
"in": "path",
|
|
"description": "a user identifier which represent destination user",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XFriendshipInfoDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Open": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Open Action ...",
|
|
"parameters": [
|
|
{
|
|
"name": "token",
|
|
"in": "header",
|
|
"description": "",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "request",
|
|
"in": "query",
|
|
"description": "",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/{ids}/GetNames": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Retrieve User Names based on UserIds",
|
|
"parameters": [
|
|
{
|
|
"name": "ids",
|
|
"in": "path",
|
|
"description": "a comma seperated list of UserIds",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/GetNameIds": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "get user ids and retrieve corresponding user names",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XUserNameIdRequest</see> which represent required UserIds collection",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserNameIdRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XUserNameIdResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/{userSelectByParam}": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Get Profile Object of Specific User",
|
|
"parameters": [
|
|
{
|
|
"name": "userSelectByParam",
|
|
"in": "path",
|
|
"description": "specifies which user profile must be retrieved",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"default": ""
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Update a User Profile based on XProfileUpdateRequest Full",
|
|
"parameters": [
|
|
{
|
|
"name": "userSelectByParam",
|
|
"in": "path",
|
|
"description": "determine's which user profile must be retrieved",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "user update info, an instance of <see>XProfileUpdateRequest</see>",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Query": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Query Users \r\nfor specifiy users role for query user 'role: string' and 'forceRole: boolean' in header",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "query",
|
|
"description": "an string for filtering results",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "query",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "query",
|
|
"description": "specifiy sorting of items",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "query",
|
|
"description": "specify sorting direction",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "query",
|
|
"description": "specify page number",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"description": "specify page size",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "role",
|
|
"in": "header",
|
|
"description": "an string which represent user role",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "forceRole",
|
|
"in": "header",
|
|
"description": "if it's true the user must has exact role, otherwise top level users also listed",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"default": false
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Avatars/Query/{userSelectByParam}": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Query Specified User's Profile Images",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "query",
|
|
"description": "an string for filtering results",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "query",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "query",
|
|
"description": "specifiy sorting of items",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "query",
|
|
"description": "specify sorting direction",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "query",
|
|
"description": "specify page number",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"description": "specify page size",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "userSelectByParam",
|
|
"in": "path",
|
|
"description": "determine's which user profile must be retrieved",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileImageDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Update/{userSelectByParam}": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Update User Profile based on XProfileUpdateRequest (FirstName/LastName/DateOfBirth)",
|
|
"parameters": [
|
|
{
|
|
"name": "userSelectByParam",
|
|
"in": "path",
|
|
"description": "determine's which user profile must be retrieved",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "user update info, an instance of <see>XProfileUpdateRequest</see>",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XProfileUpdateRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Avatar": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Add a New Profile Image",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ContentType": {
|
|
"type": "string"
|
|
},
|
|
"ContentDisposition": {
|
|
"type": "string"
|
|
},
|
|
"Headers": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"Length": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"FileName": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"encoding": {
|
|
"ContentType": {
|
|
"style": "form"
|
|
},
|
|
"ContentDisposition": {
|
|
"style": "form"
|
|
},
|
|
"Headers": {
|
|
"style": "form"
|
|
},
|
|
"Length": {
|
|
"style": "form"
|
|
},
|
|
"Name": {
|
|
"style": "form"
|
|
},
|
|
"FileName": {
|
|
"style": "form"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Avatars": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Add a New Collection of Profile Images",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"files": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"format": "binary"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"encoding": {
|
|
"files": {
|
|
"style": "form"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Avatars/{ids}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Remove Profile Images",
|
|
"parameters": [
|
|
{
|
|
"name": "ids",
|
|
"in": "path",
|
|
"description": "a comma seperated list of avatarIds to remove",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Profile/Avatars/{id}/Set": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "set Specified Profile Image as Avatar",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "an integer which reperesent AvatarId to set as current Avatar",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Users/Query": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Query Users \r\nfor specifiy users role for query user 'role: string' and 'forceRole: boolean' in header",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "query",
|
|
"description": "an string for filtering results",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "query",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "query",
|
|
"description": "specifiy sorting of items",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "query",
|
|
"description": "specify sorting direction",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "query",
|
|
"description": "specify page number",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"description": "specify page size",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "role",
|
|
"in": "header",
|
|
"description": "an string which represent user role",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "forceRole",
|
|
"in": "header",
|
|
"description": "if it's true the user must has exact role, otherwise top level users also listed",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"default": false
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/StringXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/CanRegisterUserName/{userName}": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check a UserName is Available For Registration or not",
|
|
"parameters": [
|
|
{
|
|
"name": "userName",
|
|
"in": "path",
|
|
"description": "an string value which represent desired username",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/CanRegisterMobileNumber/{mobileNumber}": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check a Mobile Number is Available For Registration or not",
|
|
"parameters": [
|
|
{
|
|
"name": "mobileNumber",
|
|
"in": "path",
|
|
"description": "an string value which represent desired mobile number",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/CanRegisterEmail/{email}": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check a Email Address is Available For Registration or not",
|
|
"parameters": [
|
|
{
|
|
"name": "email",
|
|
"in": "path",
|
|
"description": "an string value which represent desired email address",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/IsConfirmedEmail": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check User is Confirmed Email or not",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/IsConfirmedMobile": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check User is Confirmed Mobile or not",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/ConfirmRegistration": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Confirm Registration",
|
|
"description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\"\r\n \"returnUrl\": \"http://localhost/login\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/ConfirmMobileNumber": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Confirm Requested Mobile Number",
|
|
"description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US. \r\n - ActionToken: user's requested action token for this action. \r\n - Device: user's client device which is an instance of XDevice. \r\n - MobileVerificationCode: a verification code which produced due Request Action.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\"\r\n \"mobileVerificationCode\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/ConfirmEmailAddress": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Confirm Requested Email Address",
|
|
"description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US. \r\n - ActionToken: user's requested action token for this action. \r\n - Device: user's client device which is an instance of XDevice. \r\n - EmailVerificationCode: a verification code which produced due Request Action.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\"\r\n \"emailVerificationCode\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RequestConfirmMobile": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Request For Mobile Number Change/Confirm",
|
|
"description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - MobileNumber: which phone number is going to confirm.\r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"password\": \"\",\r\n \"mobileNumber\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RequestConfirmEmail": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Request For Email Address Change/Confirm",
|
|
"description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - Email: which email address is going to confirm.\r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"password\": \"\",\r\n \"email\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RequestResetPassword": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Request Reset Password Action",
|
|
"description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application ResetPassword URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"returnUrl\": \"http://localhost/reset-password\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/ResetPassword": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Reset a User's Password",
|
|
"description": " for this action you have to provide:\r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - NewPassword: user's new password to change.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"actionToken\": \"\",\r\n \"newPassword\": \"\",\r\n \"returnUrl\": \"http://localhost/login\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RequestConfirmRegistration": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Request Registration Confirm",
|
|
"description": " for this action you have to provide:\r\n - a UserSelectedBy identifier which represet User.\r\n - Lang: client device currently used locale, such as: en-US.\r\n - Password: user's current active password.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Confirm Registration URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"userId\": \"\"\r\n \"password\": \"\",\r\n \"returnUrl\": \"http://localhost/confirm\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/InviteUser": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Invite a User to Register on Dashboard",
|
|
"description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - Email: which email address is going to invite.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Registration URL.\r\n notice in this step you had to provide all this informations as FormData\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"email\": \"\",\r\n \"returnUrl\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/RequestRegistration": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Recieve some Basic Informations and Start Registration Proccess\r\nif they Valid \r\n\r\nRegistration Proccess Starts with Invoking this Action",
|
|
"description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - FirstName: user's FirstName.\r\n - LastName: user's LastName.\r\n - DateOfBirth: user's dob date.\r\n - MobileNumber: user's MobileNumber optional.\r\n - Email: user's Email optional.\r\n - ActionToken: user's requested action token for this action (if user invited). \r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"firstName\": \"\",\r\n \"lastName\": \"\",\r\n \"dateOfBirth\": \"\",\r\n \"email\": \"\",\r\n \"mobileNumber\": \"\",\r\n \"actionToken\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/AddAccountInfo": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Add User Account Informations",
|
|
"description": " for this action you have to provide: \r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - UserName: user name.\r\n - Password: assigne password.\r\n - Device: user's client device which is an instance of XDevice.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"userName\": \"\",\r\n \"password\": \"\",\r\n \"actionToken\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/AttachProfileImage": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Upload and Attach a Profile Image for User. this is an Optional Step",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"actionToken": {
|
|
"type": "string"
|
|
},
|
|
"ContentType": {
|
|
"type": "string"
|
|
},
|
|
"ContentDisposition": {
|
|
"type": "string"
|
|
},
|
|
"Headers": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"Length": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"Name": {
|
|
"type": "string"
|
|
},
|
|
"FileName": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"encoding": {
|
|
"actionToken": {
|
|
"style": "form"
|
|
},
|
|
"ContentType": {
|
|
"style": "form"
|
|
},
|
|
"ContentDisposition": {
|
|
"style": "form"
|
|
},
|
|
"Headers": {
|
|
"style": "form"
|
|
},
|
|
"Length": {
|
|
"style": "form"
|
|
},
|
|
"Name": {
|
|
"style": "form"
|
|
},
|
|
"FileName": {
|
|
"style": "form"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionResponse"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/FinishRegistration": {
|
|
"post": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Finish Registrationn Proccess",
|
|
"description": " for this action you have to provide: \r\n - a proper User Identifier such as: (UserId, UserName, Email or MobileNumber).\r\n - Lang: client device currently used locale, such as: en-US.\r\n - ActionToken: user's requested action token for this action.\r\n - Password: assigne password.\r\n - Device: user's client device which is an instance of XDevice.\r\n - ReturnUrl: client application Login URL.\r\n\r\nSample request:\r\n\r\n {\r\n \"lang\": \"fa-IR\",\r\n \"userName\": \"\",\r\n \"password\": \"\",\r\n \"returnUrl\": \"\",\r\n \"device\": {\r\n \"os\":\"Mac\",\r\n \"browser\":\"Chrome\",\r\n \"osVersion\":\"mac-os-x-15\",\r\n \"userAgent\":\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36\",\r\n \"deviceType\":3,\r\n \"identifier\":\"[Mac]-[mac-os-x-15]-[3]-[Chrome]-[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) x-framework-test/0.0.0 Chrome/87.0.4280.141 Electron/11.2.0 Safari/537.36]\",\r\n \"token\":\"96f400dd9aa5c57a8cec9d6f4775bad3\"\r\n }\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "an instance of <see>XActionRequest</see> class which provider requirement for action",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XActionRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/OpenToSearch/Query": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Query Open To Search Users Profiles ... \r\nQuery all Users Which their Profiles is Open To Search ...",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "query",
|
|
"description": "an string for filtering results",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "query",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "query",
|
|
"description": "specifiy sorting of items",
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "query",
|
|
"description": "specify sorting direction",
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "query",
|
|
"description": "specify page number",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"description": "specify page size",
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XUserProfileDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/PassReadAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "API Read Scope ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/PassWriteAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "API Write Scope ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/PassAdminAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "API Admin Scope ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/PassManageAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "API Manage Scop ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiClaims": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Action which returns a List of Authenticated User Claims ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiUser": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiEnabledUser": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiAdmin": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiEnabledAdmin": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiApiKeyAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello for Accessing ApiKey Authorization ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiApiKeyReadAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello for Accessing ApiKey Read Access ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiApiKeyWriteAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello for Accessing ApiKey Write Access ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiApiKeyManageAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello for Accessing ApiKey Manage Access ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/HiApiKeyAdminAccess": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "a simple Hello for Accessing ApiKey Admin Access ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/Hi": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check the Controller Up and Running",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Account/Test/PassRequireXPowered": {
|
|
"get": {
|
|
"tags": [
|
|
"Account"
|
|
],
|
|
"summary": "Check Controller ByPass XPowered Filter",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Get Specified ApiKey ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Remove Specified ApiKey ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Update Specified ApiKey ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Get All Specified ApiKeys ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys/Query": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Query ApiKeys ...",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "path",
|
|
"description": "an string for filtering results",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "path",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "path",
|
|
"description": "specifiy sorting of items",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "path",
|
|
"description": "specify sorting direction",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "path",
|
|
"description": "specify page number",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "path",
|
|
"description": "specify page size",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys/Usages": {
|
|
"post": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Add Api Key Usage ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Get All Api Key Usages ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys/Usages/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Get Specified Api Key Usage ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Remove Specified Api Key Usage ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Update Specified Api Key Usage ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys/Usages/Query": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Query Api Key Usages ...",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "path",
|
|
"description": "an string for filtering results",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "path",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "path",
|
|
"description": "specifiy sorting of items",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "path",
|
|
"description": "specify sorting direction",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "path",
|
|
"description": "specify page number",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "path",
|
|
"description": "specify page size",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications": {
|
|
"post": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Create Application ...",
|
|
"description": "Sample request:\r\n\r\n {\r\n \"type\": 0,\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Get All Application ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{id}": {
|
|
"put": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Update Specified Application ...",
|
|
"description": "Sample request:\r\n\r\n {\r\n \"id\": 0,\r\n \"type\": 0,\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n }",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"delete": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Remove Specified Application ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Get Specified Application ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/Query": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Query Applications ...",
|
|
"parameters": [
|
|
{
|
|
"name": "Filter",
|
|
"in": "path",
|
|
"description": "an string for filtering results",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "an string for filtering results"
|
|
}
|
|
},
|
|
{
|
|
"name": "ContainsDetail",
|
|
"in": "path",
|
|
"description": "determines fully load object with it's relational fields or not",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
}
|
|
},
|
|
{
|
|
"name": "SortBy",
|
|
"in": "path",
|
|
"description": "specifiy sorting of items",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"description": "specifiy sorting of items"
|
|
}
|
|
},
|
|
{
|
|
"name": "IsAscending",
|
|
"in": "path",
|
|
"description": "specify sorting direction",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "boolean",
|
|
"description": "specify sorting direction"
|
|
}
|
|
},
|
|
{
|
|
"name": "Page",
|
|
"in": "path",
|
|
"description": "specify page number",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page number",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "path",
|
|
"description": "specify page size",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"description": "specify page size",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApplicationDtoXQueryResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{applicationId}/ApiKeys/{apiKeyId}/Show": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Show Api Key ...",
|
|
"parameters": [
|
|
{
|
|
"name": "apiKeyId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{applicationId}/ApiKeys/Create": {
|
|
"post": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Create Api Key ...",
|
|
"parameters": [
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XCreateApiKeyRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XCreateApiKeyRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XCreateApiKeyRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XCreateApiKeyRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{applicationId}/ApiKeys/{apiKeyId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Remove Specified Api Key ...",
|
|
"parameters": [
|
|
{
|
|
"name": "apiKeyId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Rotate Specified Api Key ...",
|
|
"parameters": [
|
|
{
|
|
"name": "apiKeyId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XRotateApiKeyRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XRotateApiKeyRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XRotateApiKeyRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XRotateApiKeyRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{applicationId}/ApiKeys/{apiKeyId}/Revoke": {
|
|
"post": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Revoke Specified Api Key ...",
|
|
"parameters": [
|
|
{
|
|
"name": "apiKeyId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{applicationId}/ApiKeys": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Retrieve Specified Application's Api Keys ...",
|
|
"parameters": [
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/{applicationId}/ApiKeys/{apiKeyId}/Usages": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Retrieve Specified Api Keys Usages ...",
|
|
"parameters": [
|
|
{
|
|
"name": "apiKeyId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"format": "uuid"
|
|
}
|
|
},
|
|
{
|
|
"name": "applicationId",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/ApiKeys/Validate": {
|
|
"post": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Validate Specifed Api Key ...",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"description": "",
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyValidationRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyValidationRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyValidationRequest"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyValidationRequest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XApiKeyValidationResult"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/Test/Hi": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Check the Controller Up and Running",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Applications/Test/PassRequireXPowered": {
|
|
"get": {
|
|
"tags": [
|
|
"Applications"
|
|
],
|
|
"summary": "Check Controller ByPass XPowered Filter",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Authorization/Roles/{id}": {
|
|
"get": {
|
|
"tags": [
|
|
"Authorization"
|
|
],
|
|
"summary": "Retrieve Specified Role By Id ...",
|
|
"parameters": [
|
|
{
|
|
"name": "id",
|
|
"in": "path",
|
|
"description": "",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/XRoleDefinitionDto"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Authorization/Test/Hi": {
|
|
"get": {
|
|
"tags": [
|
|
"Authorization"
|
|
],
|
|
"summary": "Check the Controller Up and Running",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Authorization/Test/PassRequireXPowered": {
|
|
"get": {
|
|
"tags": [
|
|
"Authorization"
|
|
],
|
|
"summary": "Check Controller ByPass XPowered Filter",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/": {
|
|
"get": {
|
|
"tags": [
|
|
"Startup"
|
|
],
|
|
"summary": "Show Configured Welcome Message",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Test/Hi": {
|
|
"get": {
|
|
"tags": [
|
|
"Startup"
|
|
],
|
|
"summary": "Check the Controller Up and Running",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/Test/PassRequireXPowered": {
|
|
"get": {
|
|
"tags": [
|
|
"Startup"
|
|
],
|
|
"summary": "Check Controller ByPass XPowered Filter",
|
|
"parameters": [
|
|
{
|
|
"name": "X-PoweredBy",
|
|
"in": "header",
|
|
"description": "a Basic Authorization Filter",
|
|
"schema": {
|
|
"type": "String",
|
|
"default": "SaherElmITCenter"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"Assembly": {
|
|
"type": "object",
|
|
"properties": {
|
|
"definedTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TypeInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"exportedTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"codeBase": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"entryPoint": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
},
|
|
"fullName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"imageRuntimeVersion": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isDynamic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"location": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"reflectionOnly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFullyTrusted": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"escapedCodeBase": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"manifestModule": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"modules": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"globalAssemblyCache": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"hostContext": {
|
|
"type": "integer",
|
|
"format": "int64",
|
|
"readOnly": true
|
|
},
|
|
"securityRuleSet": {
|
|
"$ref": "#/components/schemas/SecurityRuleSet"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"CallingConventions": {
|
|
"enum": [
|
|
1,
|
|
2,
|
|
3,
|
|
32,
|
|
64
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ConstructorInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/MethodAttributes"
|
|
},
|
|
"methodImplementationFlags": {
|
|
"$ref": "#/components/schemas/MethodImplAttributes"
|
|
},
|
|
"callingConvention": {
|
|
"$ref": "#/components/schemas/CallingConventions"
|
|
},
|
|
"isAbstract": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructor": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFinal": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isHideBySig": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isStatic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVirtual": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamily": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyAndAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyOrAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPrivate": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructedGenericMethod": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethod": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethodDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"containsGenericParameters": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"methodHandle": {
|
|
"$ref": "#/components/schemas/RuntimeMethodHandle"
|
|
},
|
|
"isSecurityCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecuritySafeCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityTransparent": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"CustomAttributeData": {
|
|
"type": "object",
|
|
"properties": {
|
|
"attributeType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"constructor": {
|
|
"$ref": "#/components/schemas/ConstructorInfo"
|
|
},
|
|
"constructorArguments": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeTypedArgument"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"namedArguments": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeNamedArgument"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"CustomAttributeNamedArgument": {
|
|
"type": "object",
|
|
"properties": {
|
|
"memberInfo": {
|
|
"$ref": "#/components/schemas/MemberInfo"
|
|
},
|
|
"typedValue": {
|
|
"$ref": "#/components/schemas/CustomAttributeTypedArgument"
|
|
},
|
|
"memberName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isField": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"CustomAttributeTypedArgument": {
|
|
"type": "object",
|
|
"properties": {
|
|
"argumentType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"value": {
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"DiscoveryDocumentResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"httpResponse": {
|
|
"$ref": "#/components/schemas/HttpResponseMessage"
|
|
},
|
|
"raw": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"json": {
|
|
"readOnly": true
|
|
},
|
|
"exception": {
|
|
"$ref": "#/components/schemas/Exception"
|
|
},
|
|
"isError": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"errorType": {
|
|
"$ref": "#/components/schemas/ResponseErrorType"
|
|
},
|
|
"httpStatusCode": {
|
|
"$ref": "#/components/schemas/HttpStatusCode"
|
|
},
|
|
"httpErrorReason": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"error": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"policy": {
|
|
"$ref": "#/components/schemas/DiscoveryPolicy"
|
|
},
|
|
"keySet": {
|
|
"$ref": "#/components/schemas/JsonWebKeySet"
|
|
},
|
|
"mtlsEndpointAliases": {
|
|
"$ref": "#/components/schemas/MtlsEndpointAliases"
|
|
},
|
|
"issuer": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"authorizeEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"tokenEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"userInfoEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"introspectionEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"revocationEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"deviceAuthorizationEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"jwksUri": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"endSessionEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"checkSessionIframe": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"registrationEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"frontChannelLogoutSupported": {
|
|
"type": "boolean",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"frontChannelLogoutSessionSupported": {
|
|
"type": "boolean",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"grantTypesSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"codeChallengeMethodsSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"scopesSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"subjectTypesSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"responseModesSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"responseTypesSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"claimsSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"tokenEndpointAuthenticationMethodsSupported": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"DiscoveryPolicy": {
|
|
"type": "object",
|
|
"properties": {
|
|
"authority": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"authorityValidationStrategy": {
|
|
"$ref": "#/components/schemas/IAuthorityValidationStrategy"
|
|
},
|
|
"requireHttps": {
|
|
"type": "boolean"
|
|
},
|
|
"allowHttpOnLoopback": {
|
|
"type": "boolean"
|
|
},
|
|
"validateIssuerName": {
|
|
"type": "boolean"
|
|
},
|
|
"validateEndpoints": {
|
|
"type": "boolean"
|
|
},
|
|
"endpointValidationExcludeList": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"additionalEndpointBaseAddresses": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"requireKeySet": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"EventAttributes": {
|
|
"enum": [
|
|
0,
|
|
512,
|
|
1024
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"EventInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/EventAttributes"
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"addMethod": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
},
|
|
"removeMethod": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
},
|
|
"raiseMethod": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
},
|
|
"isMulticast": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"eventHandlerType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"Exception": {
|
|
"type": "object",
|
|
"properties": {
|
|
"targetSite": {
|
|
"$ref": "#/components/schemas/MethodBase"
|
|
},
|
|
"stackTrace": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"message": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"data": {
|
|
"type": "object",
|
|
"additionalProperties": { },
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"innerException": {
|
|
"$ref": "#/components/schemas/Exception"
|
|
},
|
|
"helpLink": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"hResult": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"FieldAttributes": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
16,
|
|
32,
|
|
64,
|
|
128,
|
|
256,
|
|
512,
|
|
1024,
|
|
4096,
|
|
8192,
|
|
32768,
|
|
38144
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"FieldInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/FieldAttributes"
|
|
},
|
|
"fieldType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"isInitOnly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isLiteral": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNotSerialized": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPinvokeImpl": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isStatic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamily": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyAndAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyOrAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPrivate": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecuritySafeCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityTransparent": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"fieldHandle": {
|
|
"$ref": "#/components/schemas/RuntimeFieldHandle"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"GenericParameterAttributes": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
8,
|
|
16,
|
|
28
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"HttpContent": {
|
|
"type": "object",
|
|
"properties": {
|
|
"headers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"HttpMethod": {
|
|
"type": "object",
|
|
"properties": {
|
|
"method": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"HttpRequestMessage": {
|
|
"type": "object",
|
|
"properties": {
|
|
"version": {
|
|
"$ref": "#/components/schemas/Version"
|
|
},
|
|
"content": {
|
|
"$ref": "#/components/schemas/HttpContent"
|
|
},
|
|
"method": {
|
|
"$ref": "#/components/schemas/HttpMethod"
|
|
},
|
|
"requestUri": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"nullable": true
|
|
},
|
|
"headers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"properties": {
|
|
"type": "object",
|
|
"additionalProperties": { },
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"HttpResponseMessage": {
|
|
"type": "object",
|
|
"properties": {
|
|
"version": {
|
|
"$ref": "#/components/schemas/Version"
|
|
},
|
|
"content": {
|
|
"$ref": "#/components/schemas/HttpContent"
|
|
},
|
|
"statusCode": {
|
|
"$ref": "#/components/schemas/HttpStatusCode"
|
|
},
|
|
"reasonPhrase": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"headers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"trailingHeaders": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/StringStringIEnumerableKeyValuePair"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"requestMessage": {
|
|
"$ref": "#/components/schemas/HttpRequestMessage"
|
|
},
|
|
"isSuccessStatusCode": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"HttpStatusCode": {
|
|
"enum": [
|
|
100,
|
|
101,
|
|
102,
|
|
103,
|
|
200,
|
|
201,
|
|
202,
|
|
203,
|
|
204,
|
|
205,
|
|
206,
|
|
207,
|
|
208,
|
|
226,
|
|
300,
|
|
301,
|
|
302,
|
|
303,
|
|
304,
|
|
305,
|
|
306,
|
|
307,
|
|
308,
|
|
400,
|
|
401,
|
|
402,
|
|
403,
|
|
404,
|
|
405,
|
|
406,
|
|
407,
|
|
408,
|
|
409,
|
|
410,
|
|
411,
|
|
412,
|
|
413,
|
|
414,
|
|
415,
|
|
416,
|
|
417,
|
|
421,
|
|
422,
|
|
423,
|
|
424,
|
|
426,
|
|
428,
|
|
429,
|
|
431,
|
|
451,
|
|
500,
|
|
501,
|
|
502,
|
|
503,
|
|
504,
|
|
505,
|
|
506,
|
|
507,
|
|
508,
|
|
510,
|
|
511
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"IAuthorityValidationStrategy": {
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"ICustomAttributeProvider": {
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"IntPtr": {
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"JsonWebKey": {
|
|
"type": "object",
|
|
"properties": {
|
|
"alg": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"crv": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"d": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dp": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dq": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"e": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"k": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"key_ops": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"kid": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"kty": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"n": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"oth": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"p": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"q": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"qi": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"use": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x5c": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"x5t": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x5t#S256": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"x5u": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"y": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"keySize": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"hasPrivateKey": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"JsonWebKeySet": {
|
|
"type": "object",
|
|
"properties": {
|
|
"keys": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/JsonWebKey"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"LayoutKind": {
|
|
"enum": [
|
|
0,
|
|
2,
|
|
3
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"MemberInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"MemberTypes": {
|
|
"enum": [
|
|
1,
|
|
2,
|
|
4,
|
|
8,
|
|
16,
|
|
32,
|
|
64,
|
|
128,
|
|
191
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"MethodAttributes": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
16,
|
|
32,
|
|
64,
|
|
128,
|
|
256,
|
|
512,
|
|
1024,
|
|
2048,
|
|
4096,
|
|
8192,
|
|
16384,
|
|
32768,
|
|
53248
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"MethodBase": {
|
|
"type": "object",
|
|
"properties": {
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/MethodAttributes"
|
|
},
|
|
"methodImplementationFlags": {
|
|
"$ref": "#/components/schemas/MethodImplAttributes"
|
|
},
|
|
"callingConvention": {
|
|
"$ref": "#/components/schemas/CallingConventions"
|
|
},
|
|
"isAbstract": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructor": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFinal": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isHideBySig": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isStatic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVirtual": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamily": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyAndAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyOrAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPrivate": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructedGenericMethod": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethod": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethodDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"containsGenericParameters": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"methodHandle": {
|
|
"$ref": "#/components/schemas/RuntimeMethodHandle"
|
|
},
|
|
"isSecurityCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecuritySafeCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityTransparent": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"MethodImplAttributes": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
8,
|
|
16,
|
|
32,
|
|
64,
|
|
128,
|
|
256,
|
|
512,
|
|
4096,
|
|
65535
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"MethodInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/MethodAttributes"
|
|
},
|
|
"methodImplementationFlags": {
|
|
"$ref": "#/components/schemas/MethodImplAttributes"
|
|
},
|
|
"callingConvention": {
|
|
"$ref": "#/components/schemas/CallingConventions"
|
|
},
|
|
"isAbstract": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructor": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFinal": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isHideBySig": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isStatic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVirtual": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamily": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyAndAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isFamilyOrAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPrivate": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructedGenericMethod": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethod": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethodDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"containsGenericParameters": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"methodHandle": {
|
|
"$ref": "#/components/schemas/RuntimeMethodHandle"
|
|
},
|
|
"isSecurityCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecuritySafeCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityTransparent": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"returnParameter": {
|
|
"$ref": "#/components/schemas/ParameterInfo"
|
|
},
|
|
"returnType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"returnTypeCustomAttributes": {
|
|
"$ref": "#/components/schemas/ICustomAttributeProvider"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"Module": {
|
|
"type": "object",
|
|
"properties": {
|
|
"assembly": {
|
|
"$ref": "#/components/schemas/Assembly"
|
|
},
|
|
"fullyQualifiedName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"mdStreamVersion": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"moduleVersionId": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"readOnly": true
|
|
},
|
|
"scopeName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"moduleHandle": {
|
|
"$ref": "#/components/schemas/ModuleHandle"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"ModuleHandle": {
|
|
"type": "object",
|
|
"properties": {
|
|
"mdStreamVersion": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"MtlsEndpointAliases": {
|
|
"type": "object",
|
|
"properties": {
|
|
"json": {
|
|
"readOnly": true
|
|
},
|
|
"tokenEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"revocationEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"deviceAuthorizationEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"introspectionEndpoint": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"ParameterAttributes": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
4,
|
|
8,
|
|
16,
|
|
4096,
|
|
8192,
|
|
16384,
|
|
32768,
|
|
61440
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ParameterInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/ParameterAttributes"
|
|
},
|
|
"member": {
|
|
"$ref": "#/components/schemas/MemberInfo"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"parameterType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"position": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"isIn": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isLcid": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isOptional": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isOut": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isRetval": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"defaultValue": {
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"rawDefaultValue": {
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"hasDefaultValue": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"PropertyAttributes": {
|
|
"enum": [
|
|
0,
|
|
512,
|
|
1024,
|
|
4096,
|
|
8192,
|
|
16384,
|
|
32768,
|
|
62464
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PropertyInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"propertyType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/PropertyAttributes"
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"canRead": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"canWrite": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"getMethod": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
},
|
|
"setMethod": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"ResponseErrorType": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"RuntimeFieldHandle": {
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"$ref": "#/components/schemas/IntPtr"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"RuntimeMethodHandle": {
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"$ref": "#/components/schemas/IntPtr"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"RuntimeTypeHandle": {
|
|
"type": "object",
|
|
"properties": {
|
|
"value": {
|
|
"$ref": "#/components/schemas/IntPtr"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"SecurityRuleSet": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"StringIdentityUserRole": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"roleId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"StringStringIEnumerableKeyValuePair": {
|
|
"type": "object",
|
|
"properties": {
|
|
"key": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"value": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"StringXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
},
|
|
"StructLayoutAttribute": {
|
|
"type": "object",
|
|
"properties": {
|
|
"typeId": {
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"value": {
|
|
"$ref": "#/components/schemas/LayoutKind"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"Type": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"isInterface": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"namespace": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"assemblyQualifiedName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"fullName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"assembly": {
|
|
"$ref": "#/components/schemas/Assembly"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"isNested": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"declaringMethod": {
|
|
"$ref": "#/components/schemas/MethodBase"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"underlyingSystemType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"isTypeDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isArray": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isByRef": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPointer": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructedGenericType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericParameter": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericTypeParameter": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethodParameter": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericTypeDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSZArray": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVariableBoundArray": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isByRefLike": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"hasElementType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"genericTypeArguments": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"genericParameterPosition": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"genericParameterAttributes": {
|
|
"$ref": "#/components/schemas/GenericParameterAttributes"
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/TypeAttributes"
|
|
},
|
|
"isAbstract": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isImport": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSealed": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedFamANDAssem": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedFamily": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedFamORAssem": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedPrivate": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNotPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAutoLayout": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isExplicitLayout": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isLayoutSequential": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAnsiClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAutoClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isUnicodeClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isCOMObject": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isContextful": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isEnum": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isMarshalByRef": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPrimitive": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isValueType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSignatureType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecuritySafeCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityTransparent": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"structLayoutAttribute": {
|
|
"$ref": "#/components/schemas/StructLayoutAttribute"
|
|
},
|
|
"typeInitializer": {
|
|
"$ref": "#/components/schemas/ConstructorInfo"
|
|
},
|
|
"typeHandle": {
|
|
"$ref": "#/components/schemas/RuntimeTypeHandle"
|
|
},
|
|
"guid": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"readOnly": true
|
|
},
|
|
"baseType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"isSerializable": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"containsGenericParameters": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVisible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"TypeAttributes": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
16,
|
|
24,
|
|
32,
|
|
128,
|
|
256,
|
|
1024,
|
|
2048,
|
|
4096,
|
|
8192,
|
|
16384,
|
|
65536,
|
|
131072,
|
|
196608,
|
|
262144,
|
|
264192,
|
|
1048576,
|
|
12582912
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TypeInfo": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"customAttributes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/CustomAttributeData"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"isCollectible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"metadataToken": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"isInterface": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"memberType": {
|
|
"$ref": "#/components/schemas/MemberTypes"
|
|
},
|
|
"namespace": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"assemblyQualifiedName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"fullName": {
|
|
"type": "string",
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"assembly": {
|
|
"$ref": "#/components/schemas/Assembly"
|
|
},
|
|
"module": {
|
|
"$ref": "#/components/schemas/Module"
|
|
},
|
|
"isNested": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"declaringType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"declaringMethod": {
|
|
"$ref": "#/components/schemas/MethodBase"
|
|
},
|
|
"reflectedType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"underlyingSystemType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"isTypeDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isArray": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isByRef": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPointer": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isConstructedGenericType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericParameter": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericTypeParameter": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericMethodParameter": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isGenericTypeDefinition": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSZArray": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVariableBoundArray": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isByRefLike": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"hasElementType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"genericTypeArguments": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"genericParameterPosition": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"genericParameterAttributes": {
|
|
"$ref": "#/components/schemas/GenericParameterAttributes"
|
|
},
|
|
"attributes": {
|
|
"$ref": "#/components/schemas/TypeAttributes"
|
|
},
|
|
"isAbstract": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isImport": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSealed": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSpecialName": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedAssembly": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedFamANDAssem": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedFamily": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedFamORAssem": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedPrivate": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNestedPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isNotPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPublic": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAutoLayout": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isExplicitLayout": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isLayoutSequential": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAnsiClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isAutoClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isUnicodeClass": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isCOMObject": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isContextful": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isEnum": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isMarshalByRef": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isPrimitive": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isValueType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSignatureType": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecuritySafeCritical": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isSecurityTransparent": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"structLayoutAttribute": {
|
|
"$ref": "#/components/schemas/StructLayoutAttribute"
|
|
},
|
|
"typeInitializer": {
|
|
"$ref": "#/components/schemas/ConstructorInfo"
|
|
},
|
|
"typeHandle": {
|
|
"$ref": "#/components/schemas/RuntimeTypeHandle"
|
|
},
|
|
"guid": {
|
|
"type": "string",
|
|
"format": "uuid",
|
|
"readOnly": true
|
|
},
|
|
"baseType": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"isSerializable": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"containsGenericParameters": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"isVisible": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"genericTypeParameters": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredConstructors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/ConstructorInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredEvents": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/EventInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredFields": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/FieldInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredMembers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/MemberInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredMethods": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/MethodInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredNestedTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/TypeInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"declaredProperties": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/PropertyInfo"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
},
|
|
"implementedInterfaces": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/Type"
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"Version": {
|
|
"type": "object",
|
|
"properties": {
|
|
"major": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"minor": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"build": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"revision": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"majorRevision": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
},
|
|
"minorRevision": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XActionRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"lang": {
|
|
"type": "string",
|
|
"description": "Client Device Locale",
|
|
"nullable": true
|
|
},
|
|
"actionToken": {
|
|
"type": "string",
|
|
"description": "Requested Action Token",
|
|
"nullable": true
|
|
},
|
|
"device": {
|
|
"$ref": "#/components/schemas/XDevice"
|
|
},
|
|
"firstName": {
|
|
"type": "string",
|
|
"description": "FirstName",
|
|
"nullable": true
|
|
},
|
|
"lastName": {
|
|
"type": "string",
|
|
"description": "LastName",
|
|
"nullable": true
|
|
},
|
|
"dateOfBirth": {
|
|
"type": "string",
|
|
"description": "an Optional Value which represetns User's DateOfBirth",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"description": "User's Id",
|
|
"nullable": true
|
|
},
|
|
"userName": {
|
|
"type": "string",
|
|
"description": "UserName",
|
|
"nullable": true
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"description": "Email",
|
|
"nullable": true
|
|
},
|
|
"mobileNumber": {
|
|
"type": "string",
|
|
"description": "MobileNumber / PhoneNumber",
|
|
"nullable": true
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"description": "Password",
|
|
"nullable": true
|
|
},
|
|
"newPassword": {
|
|
"type": "string",
|
|
"description": "NewPassword",
|
|
"nullable": true
|
|
},
|
|
"emailVerificationCode": {
|
|
"type": "string",
|
|
"description": "EmailVerificationCode",
|
|
"nullable": true
|
|
},
|
|
"mobileVerificationCode": {
|
|
"type": "string",
|
|
"description": "MobileVerificationCode",
|
|
"nullable": true
|
|
},
|
|
"thumbnail": {
|
|
"type": "string",
|
|
"description": "Thumbnail",
|
|
"format": "binary",
|
|
"nullable": true
|
|
},
|
|
"returnUrl": {
|
|
"type": "string",
|
|
"description": "ReturnUrl",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "represent a system wide actions"
|
|
},
|
|
"XActionResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"token": {
|
|
"type": "string",
|
|
"description": "ActionToken",
|
|
"nullable": true
|
|
},
|
|
"expiration": {
|
|
"type": "string",
|
|
"description": "ActionToken Lifetime",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "represent a system wide action result"
|
|
},
|
|
"XApiKeyDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"description": "Entity Id",
|
|
"format": "uuid"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"applicationId": {
|
|
"type": "integer",
|
|
"description": "Related Application Id ...",
|
|
"format": "int32"
|
|
},
|
|
"keyHash": {
|
|
"type": "string",
|
|
"description": "Hash ...\r\nSHA256 of ApiKey ...",
|
|
"nullable": true
|
|
},
|
|
"keyPrefix": {
|
|
"type": "string",
|
|
"description": "a Prefix ...",
|
|
"nullable": true
|
|
},
|
|
"expiresAt": {
|
|
"type": "string",
|
|
"description": "Expiration Type ...",
|
|
"format": "date-time"
|
|
},
|
|
"createdOn": {
|
|
"type": "string",
|
|
"description": "Cration Time ...",
|
|
"format": "date-time"
|
|
},
|
|
"lastUsedAt": {
|
|
"type": "string",
|
|
"description": "Last Usage Date ...",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"revokedAt": {
|
|
"type": "string",
|
|
"description": "Revoked Time ...",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"revokedBy": {
|
|
"type": "string",
|
|
"description": "Revoker User Id ...",
|
|
"nullable": true
|
|
},
|
|
"allowedScopes": {
|
|
"type": "string",
|
|
"description": "a Json Array String ...\r\nXApiKeyScope ...",
|
|
"nullable": true
|
|
},
|
|
"allowedIPs": {
|
|
"type": "string",
|
|
"description": "a Comma-separated List which Specified White List IP ...",
|
|
"nullable": true
|
|
},
|
|
"rateLimitPerMinute": {
|
|
"type": "integer",
|
|
"description": "Rate Limit Per Minute ...",
|
|
"format": "int32"
|
|
},
|
|
"application": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "an Specified Api Key ..."
|
|
},
|
|
"XApiKeyDtoXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApiKeyDto"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
},
|
|
"XApiKeyUsageDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int64"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"apiKeyId": {
|
|
"type": "string",
|
|
"description": "Api Key Id ...",
|
|
"format": "uuid"
|
|
},
|
|
"endpoint": {
|
|
"type": "string",
|
|
"description": "Called Endpoint ...",
|
|
"nullable": true
|
|
},
|
|
"httpMethod": {
|
|
"type": "string",
|
|
"description": "Called Http Method ...",
|
|
"nullable": true
|
|
},
|
|
"clientIP": {
|
|
"type": "string",
|
|
"description": "Client IP Address ...",
|
|
"nullable": true
|
|
},
|
|
"statusCode": {
|
|
"type": "integer",
|
|
"description": "Status Code ...",
|
|
"format": "int32"
|
|
},
|
|
"requestedOn": {
|
|
"type": "string",
|
|
"description": "Request Time ...",
|
|
"format": "date-time"
|
|
},
|
|
"responseTimeMs": {
|
|
"type": "integer",
|
|
"description": "Response Time in Milliseconds ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XApiKeyUsageDtoXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApiKeyUsageDto"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
},
|
|
"XApiKeyValidationRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"apiKey": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"clientIP": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"requiredScope": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XApiKeyValidationResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ownerId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"applicationId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"owner": {
|
|
"$ref": "#/components/schemas/XPersonDto"
|
|
},
|
|
"scopes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"errors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XApiScope": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"XApplicationDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int32"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Name ...",
|
|
"nullable": true
|
|
},
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Descriptor ...",
|
|
"nullable": true
|
|
},
|
|
"ownerId": {
|
|
"type": "string",
|
|
"description": "Owner Id ...",
|
|
"nullable": true
|
|
},
|
|
"owner": {
|
|
"$ref": "#/components/schemas/XPersonDto"
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/XApplicationType"
|
|
},
|
|
"isActive": {
|
|
"type": "boolean",
|
|
"description": "Specified Application is Active or not ..."
|
|
},
|
|
"createdOn": {
|
|
"type": "string",
|
|
"description": "Application Create Time ...",
|
|
"format": "date-time"
|
|
},
|
|
"updatedAt": {
|
|
"type": "string",
|
|
"description": "Application Update Type ...",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "an Application in xDashboard ..."
|
|
},
|
|
"XApplicationDtoXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XApplicationDto"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
},
|
|
"XApplicationType": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5
|
|
],
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"XCreateApiKeyRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"rateLimit": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"expirationMinutes": {
|
|
"type": "integer",
|
|
"format": "int32",
|
|
"nullable": true
|
|
},
|
|
"scopes": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"allowedIPs": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Create Specified Api Key ..."
|
|
},
|
|
"XDevice": {
|
|
"required": [
|
|
"id"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int32"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"os": {
|
|
"type": "string",
|
|
"description": "Operating System",
|
|
"nullable": true
|
|
},
|
|
"osVersion": {
|
|
"type": "string",
|
|
"description": "Operating System Version",
|
|
"nullable": true
|
|
},
|
|
"browser": {
|
|
"type": "string",
|
|
"description": "Device Browser",
|
|
"nullable": true
|
|
},
|
|
"userAgent": {
|
|
"type": "string",
|
|
"description": "Browser Engine Agent",
|
|
"nullable": true
|
|
},
|
|
"deviceType": {
|
|
"$ref": "#/components/schemas/XDeviceType"
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"description": "UserId",
|
|
"nullable": true
|
|
},
|
|
"user": {
|
|
"$ref": "#/components/schemas/XUser"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Represent a Client Device which used by User"
|
|
},
|
|
"XDeviceType": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"type": "integer",
|
|
"description": "a collection of available Client Devices",
|
|
"format": "int32"
|
|
},
|
|
"XFriendDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"avatar": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastname": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"firstname": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"type": {
|
|
"$ref": "#/components/schemas/XFriendshipType"
|
|
},
|
|
"state": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "a DTO Class Which Represent a User Friends ..."
|
|
},
|
|
"XFriendDtoXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendDto"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
},
|
|
"XFriendshipFollower": {
|
|
"required": [
|
|
"id"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int32"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"state": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"description": "UserId",
|
|
"nullable": true
|
|
},
|
|
"user": {
|
|
"$ref": "#/components/schemas/XUser"
|
|
},
|
|
"destId": {
|
|
"type": "string",
|
|
"description": "DestId",
|
|
"nullable": true
|
|
},
|
|
"dest": {
|
|
"$ref": "#/components/schemas/XUser"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "represent a Follower of specific User"
|
|
},
|
|
"XFriendshipFollowing": {
|
|
"required": [
|
|
"id"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int32"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"state": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"description": "UserId",
|
|
"nullable": true
|
|
},
|
|
"user": {
|
|
"$ref": "#/components/schemas/XUser"
|
|
},
|
|
"destId": {
|
|
"type": "string",
|
|
"description": "DestId",
|
|
"nullable": true
|
|
},
|
|
"dest": {
|
|
"$ref": "#/components/schemas/XUser"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "represent a Following of specific User"
|
|
},
|
|
"XFriendshipInfoDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"isFollower": {
|
|
"type": "boolean"
|
|
},
|
|
"isFollowing": {
|
|
"type": "boolean"
|
|
},
|
|
"followerState": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
},
|
|
"followingState": {
|
|
"$ref": "#/components/schemas/XFriendshipState"
|
|
},
|
|
"followers": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"followings": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XFriendshipState": {
|
|
"enum": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4
|
|
],
|
|
"type": "integer",
|
|
"description": "Represent State of Friendship between to Users",
|
|
"format": "int32"
|
|
},
|
|
"XFriendshipType": {
|
|
"enum": [
|
|
0,
|
|
1
|
|
],
|
|
"type": "integer",
|
|
"description": "All Available Friendship Types ...",
|
|
"format": "int32"
|
|
},
|
|
"XGender": {
|
|
"enum": [
|
|
0,
|
|
1
|
|
],
|
|
"type": "integer",
|
|
"description": "Determines Available Genders",
|
|
"format": "int32"
|
|
},
|
|
"XLoginRequest": {
|
|
"required": [
|
|
"password",
|
|
"userSelectBy"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"userSelectBy": {
|
|
"type": "string",
|
|
"description": "how select an specific User"
|
|
},
|
|
"password": {
|
|
"type": "string",
|
|
"description": "user's password"
|
|
},
|
|
"device": {
|
|
"$ref": "#/components/schemas/XDevice"
|
|
},
|
|
"language": {
|
|
"type": "string",
|
|
"description": "user's language",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Represent Requirements for Authenticationg a User"
|
|
},
|
|
"XLoginResponse": {
|
|
"required": [
|
|
"accessToken"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"accessToken": {
|
|
"type": "string"
|
|
},
|
|
"refreshToken": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"expiresAt": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"profile": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XPersonDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"avatar": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"username": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastname": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"firstname": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Since in Many Cases we have to Retrieve Specified User's Minimal\r\nInfos for Handle Data Transfering, this Dto is Used ..."
|
|
},
|
|
"XProfileImage": {
|
|
"required": [
|
|
"id",
|
|
"name",
|
|
"path",
|
|
"thumb",
|
|
"thumbPath"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int32"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"userId": {
|
|
"type": "string",
|
|
"description": "UserId",
|
|
"nullable": true
|
|
},
|
|
"user": {
|
|
"$ref": "#/components/schemas/XUser"
|
|
},
|
|
"name": {
|
|
"maxLength": 255,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"description": "Name"
|
|
},
|
|
"thumb": {
|
|
"maxLength": 255,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"description": "Thumb"
|
|
},
|
|
"path": {
|
|
"maxLength": 255,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"description": "Path"
|
|
},
|
|
"thumbPath": {
|
|
"maxLength": 255,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"description": "ThumbPath"
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "CreationDate",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Represent a User's Avatar Entity"
|
|
},
|
|
"XProfileImageDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"thumb": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"thumbPath": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XProfileImageDtoXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XProfileImageDto"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
},
|
|
"XProfileUpdateRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"emailConfirmed": {
|
|
"type": "boolean",
|
|
"nullable": true
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"phoneNumberConfirmed": {
|
|
"type": "boolean",
|
|
"nullable": true
|
|
},
|
|
"firstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"avatar": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dateOfBirth": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"lastLogin": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"gender": {
|
|
"$ref": "#/components/schemas/XGender"
|
|
},
|
|
"roles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"isEnable": {
|
|
"type": "boolean",
|
|
"nullable": true
|
|
},
|
|
"isBanned": {
|
|
"type": "boolean",
|
|
"nullable": true
|
|
},
|
|
"bio": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"coverImage": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"openToSearch": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XRoleDefinitionDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "integer",
|
|
"description": "Entity Id",
|
|
"format": "int32"
|
|
},
|
|
"deleted": {
|
|
"type": "boolean",
|
|
"description": "Provided Soft Delete Behaviour ..."
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"description": "Unique Normalized Role Name, e.g. chief_clerk ...",
|
|
"nullable": true
|
|
},
|
|
"displayName": {
|
|
"type": "string",
|
|
"description": "Persian Display Name, e.g. سر دبیر ...",
|
|
"nullable": true
|
|
},
|
|
"weight": {
|
|
"type": "integer",
|
|
"description": "Role Weight, same as XUserRole enum (user=0 ... admin=10) ...",
|
|
"format": "int32"
|
|
},
|
|
"parentRoleName": {
|
|
"type": "string",
|
|
"description": "Optional Parent Role for Inheritance ...",
|
|
"nullable": true
|
|
},
|
|
"isEnabled": {
|
|
"type": "boolean",
|
|
"description": "Is Enabled ..."
|
|
},
|
|
"isSystem": {
|
|
"type": "boolean",
|
|
"description": "Seeded from Constants, cannot be removed ..."
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "a Role Definition Model (mirror of ASP.NET IdentityRole + Weight) ..."
|
|
},
|
|
"XRotateApiKeyRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"newExpirationMinutes": {
|
|
"type": "integer",
|
|
"description": "New Expiration in Minutes ...",
|
|
"format": "int32",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Rotate Specified Api Key ..."
|
|
},
|
|
"XTokenResponse": {
|
|
"required": [
|
|
"accessToken"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"accessToken": {
|
|
"type": "string"
|
|
},
|
|
"refreshToken": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"expiresAt": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XUser": {
|
|
"required": [
|
|
"creationDate",
|
|
"dateOfBirth",
|
|
"firstName",
|
|
"gender",
|
|
"lastName"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"userName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"normalizedUserName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"normalizedEmail": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"emailConfirmed": {
|
|
"type": "boolean"
|
|
},
|
|
"passwordHash": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"securityStamp": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"concurrencyStamp": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"phoneNumberConfirmed": {
|
|
"type": "boolean"
|
|
},
|
|
"twoFactorEnabled": {
|
|
"type": "boolean"
|
|
},
|
|
"lockoutEnd": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"lockoutEnabled": {
|
|
"type": "boolean"
|
|
},
|
|
"accessFailedCount": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"firstName": {
|
|
"maxLength": 50,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"description": "FirstName"
|
|
},
|
|
"lastName": {
|
|
"maxLength": 100,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"description": "LastName"
|
|
},
|
|
"isEnable": {
|
|
"type": "boolean",
|
|
"description": "User is Enabled or not"
|
|
},
|
|
"isBanned": {
|
|
"type": "boolean",
|
|
"description": "User is Banned or not"
|
|
},
|
|
"dateOfBirth": {
|
|
"type": "string",
|
|
"description": "DateOfBirth",
|
|
"format": "date-time"
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"description": "CreationDate",
|
|
"format": "date-time"
|
|
},
|
|
"lastLogin": {
|
|
"type": "string",
|
|
"description": "LastLogin",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"avatar": {
|
|
"type": "string",
|
|
"description": "ProfileImage/Avatar",
|
|
"nullable": true
|
|
},
|
|
"gender": {
|
|
"$ref": "#/components/schemas/XGender"
|
|
},
|
|
"bio": {
|
|
"type": "string",
|
|
"description": "User Biography ...",
|
|
"nullable": true
|
|
},
|
|
"coverImage": {
|
|
"type": "string",
|
|
"description": "User Bio Cover Image ...",
|
|
"nullable": true
|
|
},
|
|
"openToSearch": {
|
|
"type": "boolean",
|
|
"description": "Can Discover User ..."
|
|
},
|
|
"devices": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XDevice"
|
|
},
|
|
"description": "User's Devices",
|
|
"nullable": true
|
|
},
|
|
"avatars": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XProfileImage"
|
|
},
|
|
"description": "User's Avatars",
|
|
"nullable": true
|
|
},
|
|
"followers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendshipFollower"
|
|
},
|
|
"description": "User's Followers",
|
|
"nullable": true
|
|
},
|
|
"followings": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XFriendshipFollowing"
|
|
},
|
|
"description": "User's Followings",
|
|
"nullable": true
|
|
},
|
|
"roles": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/StringIdentityUserRole"
|
|
},
|
|
"description": "User's Roles",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "represnt a User of System"
|
|
},
|
|
"XUserNameIdRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ids": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XUserNameIdResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"userName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XUserProfileDto": {
|
|
"type": "object",
|
|
"properties": {
|
|
"userId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"userName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"emailConfirmed": {
|
|
"type": "boolean"
|
|
},
|
|
"phoneNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"phoneNumberConfirmed": {
|
|
"type": "boolean"
|
|
},
|
|
"firstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"lastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"dateOfBirth": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"creationDate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"lastLogin": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"avatar": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"gender": {
|
|
"$ref": "#/components/schemas/XGender"
|
|
},
|
|
"bio": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"coverImage": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"openToSearch": {
|
|
"type": "boolean"
|
|
},
|
|
"friendshipInfo": {
|
|
"$ref": "#/components/schemas/XFriendshipInfoDto"
|
|
},
|
|
"roles": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"avatars": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XProfileImageDto"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"isEnable": {
|
|
"type": "boolean"
|
|
},
|
|
"isBanned": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"XUserProfileDtoXQueryResult": {
|
|
"type": "object",
|
|
"properties": {
|
|
"items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/XUserProfileDto"
|
|
},
|
|
"description": "a collection of items for a page ...",
|
|
"nullable": true
|
|
},
|
|
"page": {
|
|
"type": "integer",
|
|
"description": "Current Page Number ...",
|
|
"format": "int64"
|
|
},
|
|
"pageSize": {
|
|
"type": "integer",
|
|
"description": "Current Page Size ...",
|
|
"format": "int64"
|
|
},
|
|
"totalPages": {
|
|
"type": "integer",
|
|
"description": "Total Pages ...",
|
|
"format": "int64"
|
|
},
|
|
"totalFilteredPages": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items Pages Count ...",
|
|
"format": "int32"
|
|
},
|
|
"totalFilteredItems": {
|
|
"type": "integer",
|
|
"description": "Total Filtered Items ...",
|
|
"format": "int64"
|
|
},
|
|
"totalItems": {
|
|
"type": "integer",
|
|
"description": "Total Exists Items ...",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"description": "Result of a Requested Page of Data Based on Query ...\r\nthis can used in every Data Providers ..."
|
|
}
|
|
},
|
|
"securitySchemes": {
|
|
"AccessToken": {
|
|
"type": "apiKey",
|
|
"description": "Bearer token",
|
|
"name": "Authorization",
|
|
"in": "header"
|
|
},
|
|
"RefreshToken": {
|
|
"type": "apiKey",
|
|
"description": "Refresh Token",
|
|
"name": "refresh_token",
|
|
"in": "header"
|
|
},
|
|
"ExpiresAt": {
|
|
"type": "apiKey",
|
|
"description": "Expires at",
|
|
"name": "expires_at",
|
|
"in": "header"
|
|
},
|
|
"XApiKey": {
|
|
"type": "apiKey",
|
|
"description": "Api Key for Authentication ...",
|
|
"name": "X-Api-Key",
|
|
"in": "header"
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"AccessToken": [ ]
|
|
},
|
|
{
|
|
"RefreshToken": [ ]
|
|
},
|
|
{
|
|
"ExpiresAt": [ ]
|
|
},
|
|
{
|
|
"XApiKey": [ ]
|
|
}
|
|
]
|
|
} |