Route: https://api.kayran.live/MakeQueuePriority
Using this feature will allow you to set priority to each queue.
Roles Required: Admin and User.
Request Syntax
{
"apiKey": "String",
"status": True|False,
"qToken": "String"
}
Request Parameters
Parameters being used in the Request
Parameter Name :
apiKey
Parameter Usage and Options :
Your Kayran given API Key.
How do I get it ? :
Located in the “Profile” section.
Note : by default, the “API Status” is enabled, unless, the Admin has disabled it in the “Server Settings” section.
Type :
String
Is it Optional ? :
No.
Parameter Name :
qToken
Parameter Usage and Options :
The queue’s token
How do I get it ? :
You can also use the “GetQueue” functions.
Type :
String
Is it Optional ? :
o.
Parameter Name :
status
Parameter Usage and Options :
If the status will be true or false
Type :
Boolean
Is it Optional ? :
No.
Successful Response
{
"Error": 0,
"Function": "GetVulnById",
"Data": "Queue Priority Updated"
}
Errors and their Possible Causes
For more information, please refer to the General Errors section.