11538 lines
398 KiB
JSON
11538 lines
398 KiB
JSON
{
|
|
"v": 12,
|
|
"name": "xSaherElm AI API",
|
|
"folders": [
|
|
{
|
|
"v": 12,
|
|
"name": "Account",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "Logout User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Logout",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Logout User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Logout",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Validate a Revision Checksum",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Validate",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Validate a Revision Checksum",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Validate",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Request AccessToken for Specific XApiScope",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestScopeAccessToken",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "scope",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "a member of <see>XApiScope</see>"
|
|
},
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Request AccessToken for Specific XApiScope",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestScopeAccessToken",
|
|
"headers": [
|
|
{
|
|
"key": "scope",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "a member of <see>XApiScope</see>"
|
|
},
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"accessToken\": \"string\",\n \"refreshToken\": \"string\",\n \"expiresAt\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Change a User's Password ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ChangePassword",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Change a User's Password ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ChangePassword",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ban Specific Users",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Ban",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ban Specific Users",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Ban",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n \"string\"\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "UnBann Specific Users",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/UnBan",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "UnBann Specific Users",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/UnBan",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n \"string\"\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Specific User is Banned or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/IsBanned/<<userSelectByParam>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Specific User is Banned or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/IsBanned/<<userSelectByParam>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Follow a User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Follow",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Follow a User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Follow",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Cancel Following Request",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Cancel",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Cancel Following Request",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Cancel",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Unfollow a Follower",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/UnFollowFollower",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Unfollow a Follower",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/UnFollowFollower",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Unfollow Following",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/UnFollowFollowing",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Unfollow Following",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/UnFollowFollowing",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Block a Follower",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Block",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Block a Follower",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Block",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Unblock a Blocked User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/UnBlock",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Unblock a Blocked User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/UnBlock",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Accept a Following Request",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/AcceptRequest",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Accept a Following Request",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/AcceptRequest",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Reject a Following Request",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/RejectRequest",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Reject a Following Request",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/RejectRequest",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Friendship Info Model between Specific User and Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/FriendshipInfo",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Friendship Info Model between Specific User and Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/FriendshipInfo",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check a User IsFollower of Requested User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/IsFollower",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check a User IsFollower of Requested User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/IsFollower",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Follower State of a User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/FollowerState",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Follower State of a User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/FollowerState",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "0"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Specific Follower",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Follower",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Specific Follower",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Follower",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Followers List Of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/Followers",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Followers List Of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/Followers",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/AllFollowers",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/AllFollowers",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/QueryFollowers",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
},
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Followers List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/QueryFollowers",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
},
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\",\n \"type\": 0,\n \"state\": 0\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check a User is in Followings of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/IsFollowing",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check a User is in Followings of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/IsFollowing",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Following State Relation between Specific User \r\nand Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/FollowingState",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Following State Relation between Specific User \r\nand Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/FollowingState",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "0"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Specific Following Model",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Following",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Specific Following Model",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/<<destUser>>/Following",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Followings of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/Followings",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Followings of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/Followings",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Following List Includes Blocked, Requested and etc \r\nof Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/AllFollowings",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Following List Includes Blocked, Requested and etc \r\nof Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/AllFollowings",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Return Following UserName's List of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/FollowingsList",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Return Following UserName's List of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/FollowingsList",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n \"string\"\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Return Followers UserName's List of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/FollowersList",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Return Followers UserName's List of Current User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/FollowersList",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n \"string\"\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Followings List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/QueryFollowings",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
},
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Followings List Includes Blocked, Requested and etc \r\nof Current User based On Query Model ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Friendship/QueryFollowings",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
},
|
|
{
|
|
"key": "destUser",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\",\n \"type\": 0,\n \"state\": 0\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve User Names based on UserIds",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/<<ids>>/GetNames",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "ids",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve User Names based on UserIds",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/<<ids>>/GetNames",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "ids",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n \"string\"\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "get user ids and retrieve corresponding user names",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/GetNameIds",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "get user ids and retrieve corresponding user names",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/GetNameIds",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": \"string\",\n \"userName\": \"string\"\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Profile Object of Specific User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/<<userSelectByParam>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Profile Object of Specific User",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/<<userSelectByParam>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Update a User Profile based on <see>XProfileUpdateRequest</see> Full",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/<<userSelectByParam>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Update a User Profile based on <see>XProfileUpdateRequest</see> Full",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/<<userSelectByParam>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Users \r\nfor specifiy users role for query user 'role: string' and 'forceRole: boolean' in header",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Query",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "role",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string which represent user role"
|
|
},
|
|
{
|
|
"key": "forceRole",
|
|
"value": "false",
|
|
"active": true,
|
|
"description": "if it's true the user must has exact role, otherwise top level users also listed"
|
|
},
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Users \r\nfor specifiy users role for query user 'role: string' and 'forceRole: boolean' in header",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Query",
|
|
"headers": [
|
|
{
|
|
"key": "role",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string which represent user role"
|
|
},
|
|
{
|
|
"key": "forceRole",
|
|
"value": "false",
|
|
"active": true,
|
|
"description": "if it's true the user must has exact role, otherwise top level users also listed"
|
|
},
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Specified User's Profile Images",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars/Query/<<userSelectByParam>>",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Specified User's Profile Images",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars/Query/<<userSelectByParam>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Update User Profile based on <see>XProfileUpdateRequest</see> (FirstName/LastName/DateOfBirth)",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Update/<<userSelectByParam>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Update User Profile based on <see>XProfileUpdateRequest</see> (FirstName/LastName/DateOfBirth)",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Update/<<userSelectByParam>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Add a New Profile Image",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatar",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "ContentType",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Headers",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Length",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Name",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Add a New Profile Image",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatar",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "ContentType",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Headers",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Length",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Name",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Add a New Collection of Profile Images",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Add a New Collection of Profile Images",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "set Specified Profile Image as Avatar",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars/<<id>>/Set",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "set Specified Profile Image as Avatar",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars/<<id>>/Set",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove Profile Images",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars/<<ids>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "ids",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove Profile Images",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Profile/Avatars/<<ids>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "ids",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Invite a User to Register on Dashboard",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/InviteUser",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Invite a User to Register on Dashboard",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/InviteUser",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check User is Confirmed Email or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/IsConfirmedEmail",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check User is Confirmed Email or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/IsConfirmedEmail",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check User is Confirmed Mobile or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/IsConfirmedMobile",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check User is Confirmed Mobile or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/IsConfirmedMobile",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Open To Search Users Profiles ... \r\nQuery all Users Which their Profiles is Open To Search ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/OpenToSearch/Query",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Open To Search Users Profiles ... \r\nQuery all Users Which their Profiles is Open To Search ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/OpenToSearch/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Application ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Application ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Create Application ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Create Application ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": "Sample request:\r\n\r\n {\r\n \"type\": 0,\r\n \"name\": \"string\",\r\n \"description\": \"string\",\r\n }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Specified Application ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Specified Application ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Update Specified Application ...",
|
|
"method": "PUT",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Update Specified Application ...",
|
|
"method": "PUT",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove Specified Application ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove Specified Application ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Applications ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/Query",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Applications ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Specified ApiKey ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Specified ApiKey ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Update Specified ApiKey ...",
|
|
"method": "PUT",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Update Specified ApiKey ...",
|
|
"method": "PUT",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove Specified ApiKey ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove Specified ApiKey ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Specified ApiKeys ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Specified ApiKeys ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query ApiKeys ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Query",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query ApiKeys ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get All Api Key Usages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get All Api Key Usages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Add Api Key Usage ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Add Api Key Usage ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Get Specified Api Key Usage ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Get Specified Api Key Usage ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Update Specified Api Key Usage ...",
|
|
"method": "PUT",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Update Specified Api Key Usage ...",
|
|
"method": "PUT",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove Specified Api Key Usage ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove Specified Api Key Usage ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Api Key Usages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/Query",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Api Key Usages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Usages/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Show Api Key ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>/Show",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Show Api Key ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>/Show",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Create Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/Create",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Create Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/Create",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Rotate Specified Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Rotate Specified Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove Specified Api Key ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove Specified Api Key ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Revoke Specified Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>/Revoke",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Revoke Specified Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>/Revoke",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve Specified Application's Api Keys ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve Specified Application's Api Keys ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"applicationId\": 0,\n \"keyHash\": \"string\",\n \"keyPrefix\": \"string\",\n \"expiresAt\": \"string\",\n \"createdOn\": \"string\",\n \"lastUsedAt\": \"string\",\n \"revokedAt\": \"string\",\n \"revokedBy\": \"string\",\n \"allowedScopes\": \"string\",\n \"allowedIPs\": \"string\",\n \"rateLimitPerMinute\": 0,\n \"application\": {\n \"id\": 0,\n \"deleted\": true,\n \"name\": \"string\",\n \"description\": \"string\",\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"type\": 0,\n \"isActive\": true,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\"\n }\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve Specified Api Keys Usages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>/Usages",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve Specified Api Keys Usages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/<<applicationId>>/ApiKeys/<<apiKeyId>>/Usages",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "apiKeyId",
|
|
"value": "",
|
|
"active": true
|
|
},
|
|
{
|
|
"key": "applicationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": 0,\n \"deleted\": true,\n \"apiKeyId\": \"string\",\n \"endpoint\": \"string\",\n \"httpMethod\": \"string\",\n \"clientIP\": \"string\",\n \"statusCode\": 0,\n \"requestedOn\": \"string\",\n \"responseTimeMs\": 0\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Validate Specifed Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Validate",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Validate Specifed Api Key ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Applications/ApiKeys/Validate",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"ownerId\": \"string\",\n \"applicationId\": 0,\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"scopes\": [\n \"string\"\n ],\n \"errors\": [\n \"string\"\n ]\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve OAuth Discovery Document",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/DiscoveryDocument",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve OAuth Discovery Document",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/DiscoveryDocument",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Authenticate User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Authenticate",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "pw.test(\"Access Tokens Retrieve: \", () => {\r\n //\r\n var data = pw.response.body;\r\n pw.env.set(\"xAccessToken\", data.accessToken);\r\n pw.env.set(\"xRefreshToken\", data.refreshToken);\r\n pw.env.set(\"xExpiresAt\", data.expiresAt.toString());\r\n});",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "application/json",
|
|
"body": "{\n \"password\": \"s@H@1694056\",\n \"userSelectBy\": \"admin\"\n}"
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Authenticate User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Authenticate",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"accessToken\": \"string\",\n \"refreshToken\": \"string\",\n \"expiresAt\": 0\n}"
|
|
}
|
|
},
|
|
"description": "Sample request:\r\n\r\n {\r\n \"password\": \"\",\r\n \"userSelectBy\": \"\",\r\n }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Authenticate User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Login",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Authenticate User",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/Login",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"accessToken\": \"string\",\n \"refreshToken\": \"string\",\n \"expiresAt\": 0,\n \"profile\": {\n \"userId\": \"string\",\n \"userName\": \"string\",\n \"email\": \"string\",\n \"emailConfirmed\": true,\n \"phoneNumber\": \"string\",\n \"phoneNumberConfirmed\": true,\n \"firstName\": \"string\",\n \"lastName\": \"string\",\n \"dateOfBirth\": \"string\",\n \"creationDate\": \"string\",\n \"lastLogin\": \"string\",\n \"avatar\": \"string\",\n \"gender\": 0,\n \"bio\": \"string\",\n \"coverImage\": \"string\",\n \"openToSearch\": true,\n \"friendshipInfo\": {\n \"userId\": \"string\",\n \"isFollower\": true,\n \"isFollowing\": true,\n \"followerState\": 0,\n \"followingState\": 0,\n \"followers\": 0,\n \"followings\": 0\n },\n \"roles\": [\n \"string\"\n ],\n \"avatars\": [\n {\n \"id\": 0,\n \"name\": \"string\",\n \"thumb\": \"string\",\n \"path\": \"string\",\n \"thumbPath\": \"string\",\n \"creationDate\": \"string\"\n }\n ],\n \"isEnable\": true,\n \"isBanned\": true\n }\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Refresh Expired Tokens",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RefreshTokens",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Refresh Expired Tokens",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RefreshTokens",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"accessToken\": \"string\",\n \"refreshToken\": \"string\",\n \"expiresAt\": 0\n}"
|
|
}
|
|
},
|
|
"description": "in addition to AccessToken, you had to pass RefreshToken due to Headers"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retriev User Info Based on Open Actions ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/GetUserInfo",
|
|
"params": [
|
|
{
|
|
"key": "request",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "token",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
},
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retriev User Info Based on Open Actions ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/GetUserInfo",
|
|
"headers": [
|
|
{
|
|
"key": "token",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
},
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "request",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"avatar\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retriev User Info Based on Open Actions ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/GetUserInfoByDevice",
|
|
"params": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retriev User Info Based on Open Actions ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/GetUserInfoByDevice",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "userSelectByParam",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"userId\": \"string\",\n \"avatar\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check a UserName is Available For Registration or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/CanRegisterUserName/<<userName>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userName",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check a UserName is Available For Registration or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/CanRegisterUserName/<<userName>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "userName",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check a Mobile Number is Available For Registration or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/CanRegisterMobileNumber/<<mobileNumber>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "mobileNumber",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check a Mobile Number is Available For Registration or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/CanRegisterMobileNumber/<<mobileNumber>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "mobileNumber",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check a Email Address is Available For Registration or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/CanRegisterEmail/<<email>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "email",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check a Email Address is Available For Registration or not",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/CanRegisterEmail/<<email>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "email",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Recieve some Basic Informations and Start Registration Proccess\r\nif they Valid \r\n\r\nRegistration Proccess Starts with Invoking this Action",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestRegistration",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Recieve some Basic Informations and Start Registration Proccess\r\nif they Valid \r\n\r\nRegistration Proccess Starts with Invoking this Action",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestRegistration",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Add User Account Informations",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/AddAccountInfo",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Add User Account Informations",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/AddAccountInfo",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Upload and Attach a Profile Image for User. this is an Optional Step",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/AttachProfileImage",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "actionToken",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ContentType",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Headers",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Length",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Name",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Upload and Attach a Profile Image for User. this is an Optional Step",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/AttachProfileImage",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "actionToken",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ContentType",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ContentDisposition",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Headers",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Length",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "Name",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "FileName",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Finish Registrationn Proccess",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/FinishRegistration",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Finish Registrationn Proccess",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/FinishRegistration",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Request Registration Confirm",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestConfirmRegistration",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Request Registration Confirm",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestConfirmRegistration",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Confirm Registration",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ConfirmRegistration",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Confirm Registration",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ConfirmRegistration",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Request For Mobile Number Change/Confirm",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestConfirmMobile",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Request For Mobile Number Change/Confirm",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestConfirmMobile",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Confirm Requested Mobile Number",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ConfirmMobileNumber",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Confirm Requested Mobile Number",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ConfirmMobileNumber",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Request For Email Address Change/Confirm",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestConfirmEmail",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Request For Email Address Change/Confirm",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestConfirmEmail",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Confirm Requested Email Address",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ConfirmEmailAddress",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Confirm Requested Email Address",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ConfirmEmailAddress",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Request Reset Password Action",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestResetPassword",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Request Reset Password Action",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/RequestResetPassword",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"token\": \"string\",\n \"expiration\": \"string\"\n}"
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Reset a User's Password",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ResetPassword",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Reset a User's Password",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Account/ResetPassword",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"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 }"
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Test/Hi",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Test/Hi",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Test/PassRequireXPowered",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Account/Test/PassRequireXPowered",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [],
|
|
"description": null,
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
},
|
|
{
|
|
"v": 12,
|
|
"name": "ChatWithDocuments",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "Ingest Files into a (new or existing) In-Memory Session:\r\nExtract -> Chunk -> Embed -> Store ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Ingest",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "sessionId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ttlMinutes",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ingest Files into a (new or existing) In-Memory Session:\r\nExtract -> Chunk -> Embed -> Store ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Ingest",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "sessionId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ttlMinutes",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"sessionId\": \"string\",\n \"filesCount\": 0,\n \"chunksCount\": 0,\n \"totalVectorsCount\": 0,\n \"skippedFiles\": [\n \"string\"\n ],\n \"expiresAtUtc\": \"string\"\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask a Question over Ingested Documents ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Ask",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask a Question over Ingested Documents ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Ask",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"sessionId\": \"string\",\n \"answer\": \"string\",\n \"noContextFound\": true,\n \"sources\": [\n {\n \"identifier\": \"string\",\n \"fileName\": \"string\",\n \"chunkIndex\": 0,\n \"score\": 0,\n \"snippet\": \"string\",\n \"scope\": \"string\",\n \"type\": \"string\"\n }\n ]\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask a Question over Ingested Documents and Stream Response (SSE) ...\r\nFirst Event Carries Sources, Next Events Carry Text Deltas, Last Event has IsFinal = true ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/AskStream",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask a Question over Ingested Documents and Stream Response (SSE) ...\r\nFirst Event Carries Sources, Next Events Carry Text Deltas, Last Event has IsFinal = true ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/AskStream",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve Session Info (without Embeddings) ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Session/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve Session Info (without Embeddings) ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Session/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"ttl\": {\n \"ticks\": 0,\n \"days\": 0,\n \"hours\": 0,\n \"milliseconds\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"totalDays\": 0,\n \"totalHours\": 0,\n \"totalMilliseconds\": 0,\n \"totalMinutes\": 0,\n \"totalSeconds\": 0\n },\n \"vectorsCount\": 0,\n \"createdAtUtc\": \"string\",\n \"lastAccessAtUtc\": \"string\",\n \"expiresAtUtc\": \"string\",\n \"files\": [\n \"string\"\n ]\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove a Session and Free Memory ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Session/<<id>>",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove a Session and Free Memory ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Session/<<id>>",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "id",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "true"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Test/Hi",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Test/Hi",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Test/PassRequireXPowered",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/ChatWithDocuments/Test/PassRequireXPowered",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [],
|
|
"description": null,
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
},
|
|
{
|
|
"v": 12,
|
|
"name": "Knowledge",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "Ingest Files into a Knowledge Scope:\r\nExtract -> Chunk -> Embed -> Store in XAiVector Table ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Ingest",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "scope",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "scopeId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "knowledgeType",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "replaceExisting",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ingest Files into a Knowledge Scope:\r\nExtract -> Chunk -> Embed -> Store in XAiVector Table ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Ingest",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "scope",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "scopeId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "knowledgeType",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "replaceExisting",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": "true"
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"scope\": 0,\n \"scopeId\": \"string\",\n \"type\": \"string\",\n \"filesCount\": 0,\n \"chunksCount\": 0,\n \"replacedCount\": 0,\n \"skippedFiles\": [\n \"string\"\n ],\n \"documents\": [\n {\n \"scope\": 0,\n \"scopeId\": \"string\",\n \"type\": \"string\",\n \"fileName\": \"string\",\n \"mimeType\": \"string\",\n \"ownerId\": \"string\",\n \"chunksCount\": 0,\n \"ingestedAtUtc\": \"string\"\n }\n ]\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "List Ingested Documents of a Knowledge Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Documents",
|
|
"params": [
|
|
{
|
|
"key": "scope",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "User (default) / Project / Conversation / Global"
|
|
},
|
|
{
|
|
"key": "scopeId",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "ProjectId or ConversationId (Required for Project / Conversation)"
|
|
},
|
|
{
|
|
"key": "knowledgeType",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "Optional Knowledge Type Filter"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "List Ingested Documents of a Knowledge Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Documents",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "scope",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "User (default) / Project / Conversation / Global"
|
|
},
|
|
{
|
|
"key": "scopeId",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "ProjectId or ConversationId (Required for Project / Conversation)"
|
|
},
|
|
{
|
|
"key": "knowledgeType",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "Optional Knowledge Type Filter"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"scope\": 0,\n \"scopeId\": \"string\",\n \"type\": \"string\",\n \"fileName\": \"string\",\n \"mimeType\": \"string\",\n \"ownerId\": \"string\",\n \"chunksCount\": 0,\n \"ingestedAtUtc\": \"string\"\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Remove All Vectors of a Document in a Knowledge Scope ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Documents",
|
|
"params": [
|
|
{
|
|
"key": "fileName",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
},
|
|
{
|
|
"key": "scope",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "User (default) / Project / Conversation / Global (Admin)"
|
|
},
|
|
{
|
|
"key": "scopeId",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "ProjectId or ConversationId (Required for Project / Conversation)"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Remove All Vectors of a Document in a Knowledge Scope ...",
|
|
"method": "DELETE",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Documents",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "fileName",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
},
|
|
{
|
|
"key": "scope",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "User (default) / Project / Conversation / Global (Admin)"
|
|
},
|
|
{
|
|
"key": "scopeId",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "ProjectId or ConversationId (Required for Project / Conversation)"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "0"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Test/Hi",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Test/Hi",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Test/PassRequireXPowered",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Knowledge/Test/PassRequireXPowered",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [],
|
|
"description": null,
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
},
|
|
{
|
|
"v": 12,
|
|
"name": "Startup",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "Show Configured Welcome Message",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Show Configured Welcome Message",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Test/Hi",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Test/Hi",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Test/PassRequireXPowered",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/Test/PassRequireXPowered",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [],
|
|
"description": null,
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
},
|
|
{
|
|
"v": 12,
|
|
"name": "TestIdentity",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "API Read Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassReadAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "API Read Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassReadAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "API Write Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassWriteAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "API Write Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassWriteAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "API Admin Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassAdminAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "API Admin Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassAdminAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "API Manage Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassManageAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "API Manage Scope ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/PassManageAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Action which returns a List of Authenticated User Claims ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiClaims",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Action which returns a List of Authenticated User Claims ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiClaims",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiUser",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiUser",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiEnabledUser",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiEnabledUser",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiAgent",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiAgent",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiEnabledAgent",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiEnabledAgent",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiAdmin",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiAdmin",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiEnabledAdmin",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello User for Checking Authentication and Policy ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiEnabledAdmin",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello for Accessing ApiKey Authorization ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello for Accessing ApiKey Authorization ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello for Accessing ApiKey Read Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyReadAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello for Accessing ApiKey Read Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyReadAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello for Accessing ApiKey Write Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyWriteAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello for Accessing ApiKey Write Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyWriteAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello for Accessing ApiKey Manage Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyManageAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello for Accessing ApiKey Manage Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyManageAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "a simple Hello for Accessing ApiKey Admin Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyAdminAccess",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "a simple Hello for Accessing ApiKey Admin Access ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/HiApiKeyAdminAccess",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/Test/Hi",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/Test/Hi",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/Test/PassRequireXPowered",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/TestIdentity/Test/PassRequireXPowered",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [],
|
|
"description": null,
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
},
|
|
{
|
|
"v": 12,
|
|
"name": "XAi",
|
|
"folders": [],
|
|
"requests": [
|
|
{
|
|
"v": "17",
|
|
"name": "Ask Question and Get Response ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/AskText",
|
|
"params": [
|
|
{
|
|
"key": "question",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask Question and Get Response ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/AskText",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "question",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask Question and Get Response Stream ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/AskTextStream",
|
|
"params": [
|
|
{
|
|
"key": "question",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask Question and Get Response Stream ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/AskTextStream",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "question",
|
|
"value": "",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask Question and Get Response ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/Ask",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask Question and Get Response ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/Ask",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask Question and Get Response Stream ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/AskStream",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask Question and Get Response Stream ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/AskStream",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask Question with Files and Get Response ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/AskWithFiles",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "Prompt",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "TopK",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "MinScore",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ProjectId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ConversationId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask Question with Files and Get Response ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/AskWithFiles",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "Prompt",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "TopK",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "MinScore",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ProjectId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ConversationId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Ask Question with Files and Get Response Stream ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/AskWithFilesStream",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "Prompt",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "TopK",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "MinScore",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ProjectId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ConversationId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Ask Question with Files and Get Response Stream ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/AskWithFilesStream",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "Prompt",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "TopK",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "MinScore",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ProjectId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "ConversationId",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve AI Projects ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects",
|
|
"params": [
|
|
{
|
|
"key": "includeDefaults",
|
|
"value": "false",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve AI Projects ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "includeDefaults",
|
|
"value": "false",
|
|
"active": true,
|
|
"description": ""
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"description\": \"string\",\n \"descriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"prompt\": \"string\",\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversations\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"messages\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"projectId\": \"string\",\n \"projectTitle\": \"string\",\n \"projectDescription\": \"string\",\n \"projectTitleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"projectDescriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n }\n ]\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Create an AI Project ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Create an AI Project ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"description\": \"string\",\n \"descriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"prompt\": \"string\",\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversations\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"messages\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"projectId\": \"string\",\n \"projectTitle\": \"string\",\n \"projectDescription\": \"string\",\n \"projectTitleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"projectDescriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n }\n ]\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve Specified AI Project's Conversations ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/<<projectId>>/Conversations",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "projectId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve Specified AI Project's Conversations ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/<<projectId>>/Conversations",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "projectId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"messages\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"projectId\": \"string\",\n \"projectTitle\": \"string\",\n \"projectDescription\": \"string\",\n \"projectTitleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"projectDescriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Create an AI Conversation ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/<<projectId>>/Conversations",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "projectId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Create an AI Conversation ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/<<projectId>>/Conversations",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "projectId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"messages\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"projectId\": \"string\",\n \"projectTitle\": \"string\",\n \"projectDescription\": \"string\",\n \"projectTitleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"projectDescriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Retrieve Specified AI Conversation's Messages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Conversations/<<conversationId>>/Messages",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "conversationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Retrieve Specified AI Conversation's Messages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Conversations/<<conversationId>>/Messages",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "conversationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "[\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n]"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Projects ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/Query",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Projects ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"description\": \"string\",\n \"descriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"prompt\": \"string\",\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversations\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"messages\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"projectId\": \"string\",\n \"projectTitle\": \"string\",\n \"projectDescription\": \"string\",\n \"projectTitleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"projectDescriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n }\n ]\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": ""
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Conversations ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/<<projectId>>/Conversations/Query",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "projectId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Conversations ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Projects/<<projectId>>/Conversations/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "projectId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"title\": \"string\",\n \"titleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"messages\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"projectId\": \"string\",\n \"projectTitle\": \"string\",\n \"projectDescription\": \"string\",\n \"projectTitleResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"projectDescriptionResource\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n }\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Query Messages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Conversations/<<conversationId>>/Messages/Query",
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "conversationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Query Messages ...",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Conversations/<<conversationId>>/Messages/Query",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [
|
|
{
|
|
"key": "Filter",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "an string for filtering results"
|
|
},
|
|
{
|
|
"key": "ContainsDetail",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "determines fully load object with it's relational fields or not"
|
|
},
|
|
{
|
|
"key": "SortBy",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specifiy sorting of items"
|
|
},
|
|
{
|
|
"key": "IsAscending",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify sorting direction"
|
|
},
|
|
{
|
|
"key": "Page",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page number"
|
|
},
|
|
{
|
|
"key": "PageSize",
|
|
"value": "",
|
|
"active": true,
|
|
"description": "specify page size"
|
|
}
|
|
],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": [
|
|
{
|
|
"key": "conversationId",
|
|
"value": "",
|
|
"active": true
|
|
}
|
|
]
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "{\n \"items\": [\n {\n \"id\": \"string\",\n \"deleted\": true,\n \"ownerId\": \"string\",\n \"owner\": {\n \"avatar\": \"string\",\n \"userId\": \"string\",\n \"username\": \"string\",\n \"lastname\": \"string\",\n \"firstname\": \"string\"\n },\n \"content\": \"string\",\n \"role\": 0,\n \"createdOn\": \"string\",\n \"updatedAt\": \"string\",\n \"conversationId\": \"string\",\n \"conversationTitle\": \"string\",\n \"conversationTitleResouce\": {\n \"resource\": \"string\",\n \"locales\": [\n {\n \"language\": \"string\",\n \"value\": \"string\"\n }\n ]\n },\n \"metadata\": {},\n \"metaDatas\": \"string\"\n }\n ],\n \"page\": 0,\n \"pageSize\": 0,\n \"totalPages\": 0,\n \"totalFilteredPages\": 0,\n \"totalFilteredItems\": 0,\n \"totalItems\": 0\n}"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Extract Files Content ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/ExtractContent",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "extractors",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Extract Files Content ...",
|
|
"method": "POST",
|
|
"endpoint": "<<baseUrl>>/XAi/ExtractContent",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": "multipart/form-data",
|
|
"body": [
|
|
{
|
|
"key": "files",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
},
|
|
{
|
|
"key": "extractors",
|
|
"active": true,
|
|
"isFile": false,
|
|
"value": ""
|
|
}
|
|
]
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": "string"
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Test/Hi",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check the Controller Up and Running",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Test/Hi",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
},
|
|
{
|
|
"v": "17",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Test/PassRequireXPowered",
|
|
"params": [],
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"preRequestScript": "",
|
|
"testScript": "",
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"requestVariables": [],
|
|
"responses": {
|
|
"Success": {
|
|
"name": "Success",
|
|
"originalRequest": {
|
|
"v": "6",
|
|
"name": "Check Controller ByPass XPowered Filter",
|
|
"method": "GET",
|
|
"endpoint": "<<baseUrl>>/XAi/Test/PassRequireXPowered",
|
|
"headers": [
|
|
{
|
|
"key": "X-PoweredBy",
|
|
"value": "SaherElmITCenter",
|
|
"active": true,
|
|
"description": "a Basic Authorization Filter"
|
|
}
|
|
],
|
|
"params": [],
|
|
"body": {
|
|
"contentType": null,
|
|
"body": null
|
|
},
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"requestVariables": []
|
|
},
|
|
"status": "OK",
|
|
"code": 200,
|
|
"headers": [
|
|
{
|
|
"key": "content-type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": ""
|
|
}
|
|
},
|
|
"description": null
|
|
}
|
|
],
|
|
"auth": {
|
|
"authType": "inherit",
|
|
"authActive": true
|
|
},
|
|
"headers": [],
|
|
"variables": [],
|
|
"description": null,
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
}
|
|
],
|
|
"requests": [],
|
|
"auth": {
|
|
"authType": "bearer",
|
|
"authActive": true,
|
|
"addTo": "HEADERS",
|
|
"key": "Authorization",
|
|
"value": "",
|
|
"secret": "",
|
|
"algorithm": "HS256",
|
|
"payload": "{}",
|
|
"isSecretBase64Encoded": false,
|
|
"headerPrefix": "Bearer ",
|
|
"paramName": "token",
|
|
"jwtHeaders": "{}",
|
|
"token": "<<xAccessToken>>"
|
|
},
|
|
"headers": [
|
|
{
|
|
"active": true,
|
|
"key": "refresh_token",
|
|
"value": "<<xRefreshToken>>",
|
|
"description": ""
|
|
},
|
|
{
|
|
"active": true,
|
|
"key": "expires_at",
|
|
"value": "<<xExpiresAt>>",
|
|
"description": ""
|
|
}
|
|
],
|
|
"variables": [
|
|
{
|
|
"key": "baseUrl",
|
|
"initialValue": "https://localhost:6001",
|
|
"currentValue": "",
|
|
"secret": false
|
|
},
|
|
{
|
|
"key": "xRefreshToken",
|
|
"currentValue": "",
|
|
"initialValue": "",
|
|
"secret": false
|
|
},
|
|
{
|
|
"key": "xExpiresAt",
|
|
"currentValue": "",
|
|
"initialValue": "",
|
|
"secret": false
|
|
},
|
|
{
|
|
"key": "xAccessToken",
|
|
"currentValue": "",
|
|
"initialValue": "",
|
|
"secret": false
|
|
}
|
|
],
|
|
"description": "Complete AI API Documentation",
|
|
"preRequestScript": "",
|
|
"testScript": ""
|
|
} |