{ "openapi": "3.1.0", "info": { "title": "xDashboard", "description": "", "version": "1.0.0" }, "paths": { "/{xAccountUri}/{xTestUri}/Hi": { "get": { "summary": "Hi", "responses": { "200": { "description": "Successful response" } }, "operationId": "Hi", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ] } }, "/{xAccountUri}/{xTestUri}/PassRequireXPowered": { "get": { "summary": "PassRequireXPowered", "responses": { "200": { "description": "Successful response" } }, "operationId": "PassRequireXPowered", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ] } }, "/{xAccountUri}/{xTestUri}/HiClaims": { "get": { "summary": "HiClaims", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiClaims", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiUser": { "get": { "summary": "HiUser", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiUser", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiEnabledUser": { "get": { "summary": "HiEnabledUser", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiEnabledUser", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiElite": { "get": { "summary": "HiElite", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiElite", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiEnabledElite": { "get": { "summary": "HiEnabledElite", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiEnabledElite", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiReporter": { "get": { "summary": "HiReporter", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiReporter", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiEnabledReporter": { "get": { "summary": "HiEnabledReporter", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiEnabledReporter", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiActuary": { "get": { "summary": "HiActuary", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiActuary", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiEnabledActuary": { "get": { "summary": "HiEnabledActuary", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiEnabledActuary", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiChiefActuary": { "get": { "summary": "HiChiefActuary", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiChiefActuary", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiEnabledChiefActuary": { "get": { "summary": "HiEnabledChiefActuary", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiEnabledChiefActuary", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiAdmin": { "get": { "summary": "HiAdmin", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiAdmin", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xTestUri}/HiEnabledAdmin": { "get": { "summary": "HiEnabledAdmin", "responses": { "200": { "description": "Successful response" } }, "operationId": "HiEnabledAdmin", "tags": [ "xIds/Account/Test" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xTestUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/Ban": { "post": { "summary": "Ban", "responses": { "200": { "description": "Successful response" } }, "operationId": "Ban", "tags": [ "xIds/Account/Admin" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "ids": [ "user" ] } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/UnBan": { "post": { "summary": "UnBan", "responses": { "200": { "description": "Successful response" } }, "operationId": "UnBan", "tags": [ "xIds/Account/Admin" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "ids": [ "user" ] } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/IsBanned/user": { "get": { "summary": "IsBanned", "responses": { "200": { "description": "Successful response" } }, "operationId": "IsBanned", "tags": [ "xIds/Account/Admin" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/DiscoveryDocument": { "get": { "summary": "DiscoveryDocument", "responses": { "200": { "description": "Successful response" } }, "operationId": "DiscoveryDocument", "tags": [ "xIds/Account/Authentication" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ] } }, "/{xAccountUri}/Login": { "post": { "summary": "Login", "responses": { "200": { "description": "Successful response" } }, "description": "Authenticate User ...", "operationId": "Login", "tags": [ "xIds/Account/Authentication" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "userSelectBy": "admin", "password": "s@H@1694056", "device": { "os": "Mac", "osVersion": "mac-os-x-15", "browser": "Chrome", "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", "deviceType": 3 }, "language": "fa-IR" } } } } } }, "/{xAccountUri}/Authenticate": { "post": { "summary": "Authenticate", "responses": { "200": { "description": "Successful response" } }, "description": "Authenticate User ...", "operationId": "Authenticate", "tags": [ "xIds/Account/Authentication" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "userSelectBy": "admin", "password": "s@H@1694056" } } } } } }, "/{xAccountUri}/RefreshTokens": { "post": { "summary": "RefreshTokens", "responses": { "200": { "description": "Successful response" } }, "description": "Refresh User Tokens ...", "operationId": "RefreshTokens", "tags": [ "xIds/Account/Authentication" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/IsConfirmedEmail": { "get": { "summary": "IsConfirmedEmail", "responses": { "200": { "description": "Successful response" } }, "operationId": "IsConfirmedEmail", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/IsConfirmedMobile": { "get": { "summary": "IsConfirmedMobile", "responses": { "200": { "description": "Successful response" } }, "operationId": "IsConfirmedMobile", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/CanRegisterUserName/admin": { "get": { "summary": "CanRegisterUserName", "responses": { "200": { "description": "Successful response" } }, "operationId": "CanRegisterUserName", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ] } }, "/{xAccountUri}/CanRegisterMobileNumber/+989121694056": { "get": { "summary": "CanRegisterMobileNumber", "responses": { "200": { "description": "Successful response" } }, "operationId": "CanRegisterMobileNumber", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "+989121694056" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ] } }, "/{xAccountUri}/CanRegisterEmail/hadi_khazaee_asl@yahoo.com": { "get": { "summary": "CanRegisterEmail", "responses": { "200": { "description": "Successful response" } }, "operationId": "CanRegisterEmail", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "hadi_khazaee_asl@yahoo.com" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ] } }, "/{xAccountUri}/RequestConfirmEmail": { "post": { "summary": "RequestConfirmEmail", "responses": { "200": { "description": "Successful response" } }, "operationId": "RequestConfirmEmail", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "userName": "admin", "email": "saherelm@yahoo.com", "password": "s@H@1694056" } } } } } }, "/{xAccountUri}/RequestConfirmMobile": { "post": { "summary": "RequestConfirmMobile", "responses": { "200": { "description": "Successful response" } }, "operationId": "RequestConfirmMobile", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "userName": "admin", "password": "s@H@1694056", "mobileNumber": "+989351341668" } } } } } }, "/{xAccountUri}/RequestResetPassword": { "post": { "summary": "RequestResetPassword", "responses": { "200": { "description": "Successful response" } }, "operationId": "RequestResetPassword", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "userName": "admin", "returnUrl": "https://localhost:4200/reset-password" } } } } } }, "/{xAccountUri}/RequestConfirmRegistration": { "post": { "summary": "RequestConfirmRegistration", "responses": { "200": { "description": "Successful response" } }, "operationId": "RequestConfirmRegistration", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "userName": "jef.yari", "password": "s@H@1694056", "returnUrl": "https://localhost:4200/confirm" } } } } } }, "/{xAccountUri}/ChangePassword": { "post": { "summary": "ChangePassword", "responses": { "200": { "description": "Successful response" } }, "operationId": "ChangePassword", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "actionToken": "", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "firstName": "", "lastName": "", "dateOfBirth": "0001-01-01T00:00:00", "userId": "", "userName": "admin", "email": "", "mobileNumber": "", "password": "s@H@78692110", "newPassword": "s@H@1694056", "emailVerificationCode": "", "mobileVerificationCode": "", "returnUrl": "https://localhost:4200/login" } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/ResetPassword": { "post": { "summary": "ResetPassword", "responses": { "200": { "description": "Successful response" } }, "operationId": "ResetPassword", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "actionToken": "<>", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "newPassword": "s@H@1694056", "returnUrl": "https://localhost:4200/login" } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/ConfirmRegistration": { "post": { "summary": "ConfirmRegistration", "responses": { "200": { "description": "Successful response" } }, "operationId": "ConfirmRegistration", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "actionToken": "<>", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "returnUrl": "https://localhost:4200/login" } } } } } }, "/{xAccountUri}/ConfirmEmailAddress": { "post": { "summary": "ConfirmEmailAddress", "responses": { "200": { "description": "Successful response" } }, "operationId": "ConfirmEmailAddress", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "actionToken": "<>", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "emailVerificationCode": "160187" } } } } } }, "/{xAccountUri}/ConfirmMobileNumber": { "post": { "summary": "ConfirmMobileNumber", "responses": { "200": { "description": "Successful response" } }, "operationId": "ConfirmMobileNumber", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "actionToken": "<>", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "mobileVerificationCode": "431210" } } } } } }, "/{xAccountUri}/InviteUser": { "post": { "summary": "InviteUser", "responses": { "200": { "description": "Successful response" } }, "operationId": "InviteUser", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "email": "hadi_khazaee_asl1@yahoo.com", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" }, "returnUrl": "https://localhost:4200/register" } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/RequestRegistration": { "post": { "summary": "RequestRegistration", "responses": { "200": { "description": "Successful response" } }, "operationId": "RequestRegistration", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "firstName": "Hadi", "lastName": "Khazaee Asl", "dateOfBirth": "1982-09-18T00:00:00", "email": "m.yari.8987@gmail.com", "mobileNumber": "+989027689660", "actionToken": "", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" } } } } } } }, "/{xAccountUri}/AddAccountInfo": { "post": { "summary": "AddAccountInfo", "responses": { "200": { "description": "Successful response" } }, "operationId": "AddAccountInfo", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "userName": "jef.yari", "password": "s@H@1694056", "firstName": "Mohammad Jafar", "lastName": "Yari", "dateOfBirth": "0001-01-01T00:00:00", "email": "m.yari.8987@gmail.com", "mobileNumber": "+989027689660", "actionToken": "<>", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" } } } } } } }, "/{xAccountUri}/AttachProfileImage": { "post": { "summary": "AttachProfileImage", "responses": { "200": { "description": "Successful response" } }, "operationId": "AttachProfileImage", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "<>": { "type": "string", "example": "<>" }, "<>": { "type": "string", "example": "" } } } } } } } }, "/{xAccountUri}/FinishRegistration": { "post": { "summary": "FinishRegistration", "responses": { "200": { "description": "Successful response" } }, "operationId": "FinishRegistration", "tags": [ "xIds/Account/Registration" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "lang": "fa-IR", "userName": "jef.yari", "password": "s@H@1694056", "firstName": "Hadi", "lastName": "Khazaee Asl", "dateOfBirth": "0001-01-01T00:00:00", "email": "m.yari.8987@gmail.com", "mobileNumber": "+989027689660", "actionToken": "<>", "returnUrl": "https://localhost:4200/login", "device": { "os": "Mac", "browser": "Chrome", "osVersion": "mac-os-x-15", "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", "deviceType": 3, "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]", "token": "96f400dd9aa5c57a8cec9d6f4775bad3" } } } } } } }, "/{xAccountUri}/{xFriendshipUri}/user/FriendshipInfo": { "get": { "summary": "FriendshipInfo", "responses": { "200": { "description": "Successful response" } }, "operationId": "FriendshipInfo", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/Follow": { "post": { "summary": "Follow", "responses": { "200": { "description": "Successful response" } }, "operationId": "Follow", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/Cancel": { "post": { "summary": "Cancel", "responses": { "200": { "description": "Successful response" } }, "operationId": "Cancel", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/admin/UnFollowFollower": { "post": { "summary": "UnFollowFollower", "responses": { "200": { "description": "Successful response" } }, "operationId": "UnFollowFollower", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/UnFollowFollowing": { "post": { "summary": "UnFollowFollowing", "responses": { "200": { "description": "Successful response" } }, "operationId": "UnFollowFollowing", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/admin/Block": { "post": { "summary": "Block", "responses": { "200": { "description": "Successful response" } }, "operationId": "Block", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/admin/UnBlock": { "post": { "summary": "UnBlock", "responses": { "200": { "description": "Successful response" } }, "operationId": "UnBlock", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/admin/AcceptRequest": { "post": { "summary": "AcceptRequest", "responses": { "200": { "description": "Successful response" } }, "operationId": "AcceptRequest", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/admin/RejectRequest": { "post": { "summary": "RejectRequest", "responses": { "200": { "description": "Successful response" } }, "operationId": "RejectRequest", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/IsFollower": { "get": { "summary": "IsFollower", "responses": { "200": { "description": "Successful response" } }, "operationId": "IsFollower", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/Follower": { "get": { "summary": "Follower", "responses": { "200": { "description": "Successful response" } }, "operationId": "Follower", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/FollowerState": { "get": { "summary": "FollowerState", "responses": { "200": { "description": "Successful response" } }, "operationId": "FollowerState", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/Followers": { "get": { "summary": "Followers", "responses": { "200": { "description": "Successful response" } }, "operationId": "Followers", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/AllFollowers": { "get": { "summary": "AllFollowers", "responses": { "200": { "description": "Successful response" } }, "operationId": "AllFollowers", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/FollowersList": { "get": { "summary": "FollowersList", "responses": { "200": { "description": "Successful response" } }, "operationId": "FollowersList", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/IsFollowing": { "get": { "summary": "IsFollowing", "responses": { "200": { "description": "Successful response" } }, "operationId": "IsFollowing", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/Following": { "get": { "summary": "Following", "responses": { "200": { "description": "Successful response" } }, "operationId": "Following", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/user/FollowingState": { "get": { "summary": "FollowingState", "responses": { "200": { "description": "Successful response" } }, "operationId": "FollowingState", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "user" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/Followings": { "get": { "summary": "Followings", "responses": { "200": { "description": "Successful response" } }, "operationId": "Followings", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/AllFollowings": { "get": { "summary": "AllFollowings", "responses": { "200": { "description": "Successful response" } }, "operationId": "AllFollowings", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xFriendshipUri}/FollowingsList": { "get": { "summary": "FollowingsList", "responses": { "200": { "description": "Successful response" } }, "operationId": "FollowingsList", "tags": [ "xIds/Account/Friendship" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>", "description": "a Basic Authorization Filter" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xFriendshipUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/b5713f9f-34f4-49b2-9680-b71e2b2de969/GetNames": { "get": { "summary": "GetNames", "responses": { "200": { "description": "Successful response" } }, "operationId": "GetNames", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "b5713f9f-34f4-49b2-9680-b71e2b2de969" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/GetNameIds": { "post": { "summary": "GetNameIds", "responses": { "200": { "description": "Successful response" } }, "operationId": "GetNameIds", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "ids": [ "b5713f9f-34f4-49b2-9680-b71e2b2de969" ] } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/admin": { "get": { "summary": "Profile", "responses": { "200": { "description": "Successful response" } }, "operationId": "Profile", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/Query": { "get": { "summary": "QueryProfiles", "responses": { "200": { "description": "Successful response" } }, "operationId": "QueryProfiles", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "false" }, { "name": "<>", "in": "query", "schema": { "type": "string" } }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "email" }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "true" }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "4" }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "10" }, { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/{xAvatarsUri}/Query/admin": { "get": { "summary": "QueryAvatars", "responses": { "200": { "description": "Successful response" } }, "operationId": "QueryAvatars", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "false" }, { "name": "<>", "in": "query", "schema": { "type": "string" } }, { "name": "<>", "in": "query", "schema": { "type": "string" } }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "true" }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "1" }, { "name": "<>", "in": "query", "schema": { "type": "string" }, "example": "10" }, { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "admin" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xAvatarsUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": {} } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/Update": { "post": { "summary": "ProfileUpdate", "responses": { "200": { "description": "Successful response" } }, "operationId": "ProfileUpdate", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "firstName": "Hadi", "lastName": "Khazaee Asl" } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/elite": { "post": { "summary": "FullProfileUpdate", "responses": { "200": { "description": "Successful response" } }, "operationId": "FullProfileUpdate", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "application/json": { "example": { "firstName": "Hadi", "lastName": "Khazaee Asl", "email": null, "emailConfirmed": null, "phoneNumber": null, "phoneNumberConfirmed": null, "dateOfBirth": null, "creationDate": null, "lastLogin": null, "avatar": null, "gender": null, "roles": null, "isEnable": true, "isBanned": false } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/{xAvatarUri}": { "post": { "summary": "AddAvatar", "responses": { "200": { "description": "Successful response" } }, "operationId": "AddAvatar", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xAvatarUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "<>": { "type": "string", "example": "" } } } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/{xAvatarsUri}": { "post": { "summary": "AddAvatars", "responses": { "200": { "description": "Successful response" } }, "operationId": "AddAvatars", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xAvatarsUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "<>": { "type": "string", "example": "" } } } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/{xAvatarsUri}/3/Set": { "post": { "summary": "SetAvatar", "responses": { "200": { "description": "Successful response" } }, "operationId": "SetAvatar", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "3" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xAvatarsUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "type": "string", "example": "" } } } } } }, "security": [ { "bearerAuth": [] } ] } }, "/{xAccountUri}/{xProfileUri}/{xAvatarsUri}/1,2": { "delete": { "summary": "RemoveAvatars", "responses": { "200": { "description": "Successful response" } }, "operationId": "RemoveAvatars", "tags": [ "xIds/Account/Profile" ], "parameters": [ { "name": "<>", "in": "header", "schema": { "type": "string" }, "example": "<>" }, { "name": "<>", "in": "path", "required": true, "schema": { "type": "string" }, "example": "1,2" }, { "name": "xAccountUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xProfileUri", "in": "path", "required": true, "schema": { "type": "string" } }, { "name": "xAvatarsUri", "in": "path", "required": true, "schema": { "type": "string" } } ], "requestBody": { "content": { "multipart/form-data": { "schema": { "type": "object", "properties": { "file": { "type": "string", "example": "" } } } } } }, "security": [ { "bearerAuth": [] } ] } }, "/.well-known/openid-configuration": { "get": { "summary": "DiscoveryDocument", "responses": { "200": { "description": "DiscoveryDocument", "headers": { "Date": { "schema": { "type": "string" }, "example": "Sun, 14 Feb 2021 13:25:29 GMT" }, "Server": { "schema": { "type": "string" }, "example": "Kestrel" }, "Transfer-Encoding": { "schema": { "type": "string" }, "example": "chunked" } }, "content": { "application/json": { "example": { "issuer": "http://localhost:4000", "jwks_uri": "http://localhost:4000/.well-known/openid-configuration/jwks", "authorization_endpoint": "http://localhost:4000/connect/authorize", "token_endpoint": "http://localhost:4000/connect/token", "userinfo_endpoint": "http://localhost:4000/connect/userinfo", "end_session_endpoint": "http://localhost:4000/connect/endsession", "check_session_iframe": "http://localhost:4000/connect/checksession", "revocation_endpoint": "http://localhost:4000/connect/revocation", "introspection_endpoint": "http://localhost:4000/connect/introspect", "device_authorization_endpoint": "http://localhost:4000/connect/deviceauthorization", "frontchannel_logout_supported": true, "frontchannel_logout_session_supported": true, "backchannel_logout_supported": true, "backchannel_logout_session_supported": true, "scopes_supported": [ "IdentityServerApi", "TestAPI.read", "TestAPI.write", "TestAPI.admin", "manage", "offline_access" ], "claims_supported": [], "grant_types_supported": [ "authorization_code", "client_credentials", "refresh_token", "implicit", "password", "urn:ietf:params:oauth:grant-type:device_code" ], "response_types_supported": [ "code", "token", "id_token", "id_token token", "code id_token", "code token", "code id_token token" ], "response_modes_supported": [ "form_post", "query", "fragment" ], "token_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post" ], "id_token_signing_alg_values_supported": [ "RS256" ], "subject_types_supported": [ "public" ], "code_challenge_methods_supported": [ "plain", "S256" ], "request_parameter_supported": true, "account_api": "http://localhost:4000/account" } } } } }, "operationId": "DiscoveryDocument_2", "tags": [ "xIds/OAuth" ] } }, "/connect/token": { "post": { "summary": "ClientCredential", "responses": { "200": { "description": "token", "headers": { "Date": { "schema": { "type": "string" }, "example": "Mon, 01 Feb 2021 23:50:46 GMT" }, "Server": { "schema": { "type": "string" }, "example": "Kestrel" }, "Cache-Control": { "schema": { "type": "string" }, "example": "no-store, no-cache, max-age=0" }, "Pragma": { "schema": { "type": "string" }, "example": "no-cache" }, "Transfer-Encoding": { "schema": { "type": "string" }, "example": "chunked" } }, "content": { "application/json": { "example": { "access_token": "eyJhbGciOiJSUzI1NiIsImtpZCI6IjcxMjg0OEEzMzE3NzY3OEZCNkQ0NDY2OEQ0QzczNjA1IiwidHlwIjoiYXQrand0In0.eyJuYmYiOjE2MTIyMjM0NDcsImV4cCI6MTYxMjIyNzA0NywiaXNzIjoiaHR0cHM6Ly9sb2NhbGhvc3Q6NjAwMSIsImF1ZCI6ImFwaTEiLCJjbGllbnRfaWQiOiJvYXV0aENsaWVudCIsImp0aSI6IkYzRjQ2RjAwQTc2RURCNzBFMDQwOUU1RjUyQzMwQTNBIiwiaWF0IjoxNjEyMjIzNDQ3LCJzY29wZSI6WyJhcGkxLnJlYWQiXX0.ozD-BG5Uwp3bCAXUUQqyjmMvil-OB0NprvuRqqW92KdAXgLD9gUHgsResNWV3SnZJF03K7y_QWM5g-AnRdDBJimUyYYk5aCB6BAmJ3cUOWbUoqlRC0vM9pK5qyfYx98yvsAkGayIHv4sl6-C73mEEfGR56lW_7ASzO5AXCDlK3AY8OkVE7WKSzlcW4ng0mBr6WXGjfeaOcgkQGeoR4OZURuY2FknMB8ogz-V8JYKgmLM9_dqgvaKSn2rqrelD7QUkYJRHQVGvG1B84FZ-EUeKd_gcGzs266_2wMEK3byXHtzBY2S99_I0XAG_7eA6yvU3zU90PyZwIIqtaKLlqQs0Q", "expires_in": 3600, "token_type": "Bearer", "scope": "api1.read" } } } } }, "description": "get token from server ...", "operationId": "ClientCredential", "tags": [ "xIds/OAuth" ], "requestBody": { "content": { "application/x-www-form-urlencoded": { "schema": { "type": "object", "properties": { "grant_type": { "type": "string", "example": "<>" }, "scope": { "type": "string", "example": "TestAPI.read" }, "client_id": { "type": "string", "example": "TestAPIClient" }, "client_secret": { "type": "string", "example": "s@H@1694056" } } } } } } } } }, "servers": [ { "url": "<>" } ], "tags": [ { "name": "xIds", "description": "xTrade Identity Server API Documentation" }, { "name": "xIds/Account" }, { "name": "xIds/Account/Test", "description": "Test Actions" }, { "name": "xIds/Account/Admin" }, { "name": "xIds/Account/Authentication" }, { "name": "xIds/Account/Registration" }, { "name": "xIds/Account/Friendship" }, { "name": "xIds/Account/Profile" }, { "name": "xIds/OAuth" } ], "x-hoppscotch-folder-tags": "slash", "x-hoppscotch-dropped-requests": [ { "tagPath": "xIds/OAuth", "request": { "v": "17", "name": "User Authenticate", "method": "POST", "endpoint": "<>/connect/token", "params": [], "headers": [], "preRequestScript": "", "testScript": "", "auth": { "authType": "none", "authActive": true }, "body": { "contentType": "application/x-www-form-urlencoded", "body": "grant_type: <>\nclient_id: MabsutAPIClient\nclient_secret: s@H@1694056\nusername: admin\npassword: s@H@1694056\nforce: false" }, "requestVariables": [], "responses": {}, "_ref_id": "req_muoknhs5_77b4c475-3f23-4c8d-8510-29fd6a809abe", "description": "get token from server ..." } } ], "components": { "securitySchemes": { "bearerAuth": { "type": "http", "scheme": "bearer" } } } }