-
Notifications
You must be signed in to change notification settings - Fork 0
API Reference
Anish Sahoo edited this page Oct 29, 2023
·
1 revision
Base URL: https://api.tenderloin.tech
No parameters
{"online": true}| Parameter Name | Datatype | Description |
|---|---|---|
| username | String | |
| password | String |
{
"result": {
"password": true
}
}{
"result": {
"password": false,
"returnedPassword": <String>
}
}| Parameter Name | Datatype | Description |
|---|---|---|
| username | String | |
| password | String | |
| realName | String | Name of the user, if the username is “AnishSahoo39”, real name would be “Anish Sahoo” |
| createdAt | Integer | Epoch time of when user joined. |
| userType | String | User type, admin/student/professor |
| isBanned | Boolean | Has the user been banned/blocked from the service? |
{
"result": {
"success": true,
"message": "ok",
"createdAt": <Integer>
}
}| Parameter Name | Datatype | Description |
|---|---|---|
| username | String | Username to search |
[
[
"trent",
"Trent Wiles",
1698525331,
"student",
"https://trentwil.es/a/FI3S64vsT4.png",
false,
null
]
][]No parameters
[
[
"trent",
"Trent Wiles",
1698525331,
"student",
"https://trentwil.es/a/FI3S64vsT4.png",
false,
null
],
[
"trent452090",
"Trent Wiles",
1698525331,
"student",
"https://trentwil.es/a/FI3S64vsT4.png",
false,
null
],
...
]| Parameter Name | Datatype | Description |
|---|---|---|
| type | String | User type, admin/student/professor |
[
[
"trent",
"Trent Wiles",
1698525331,
"student",
"https://trentwil.es/a/FI3S64vsT4.png",
false,
null
],
[
"trent452090",
"Trent Wiles",
1698525331,
"student",
"https://trentwil.es/a/FI3S64vsT4.png",
false,
null
],
...
][]| Parameter Name | Datatype | Description |
|---|---|---|
| q | String | Search query, searches usernames and realNames |
[
[
"trent",
"Trent Wiles",
1698525331,
"student",
"https://trentwil.es/a/FI3S64vsT4.png",
false,
null
],
...
][]| Parameter Name | Datatype | Description |
|---|---|---|
| username | String | |
| title | String | Title of the help request |
| description | String | Description of the help request |
| tags | JSON | tags in a JSON list, ie. [”java”, “linux”, “khoury”] |
{"result": {"uniqueID": <Integer>}}No parameters
[
[
"None",
"I need help with my code!",
"None",
[
"reactConsole",
"khoury"
],
1698527693,
true,
2369180787
],
...
]| Parameter Name | Datatype | Description |
|---|---|---|
| tags | String | Comma separated list of tags. Examples: “khoury” or “khoury,java,linux” |
[
[
"None",
"I need help with my code!",
"None",
[
"reactConsole",
"khoury"
],
1698527693,
true,
2369180787
],
...
][]| Parameter Name | Datatype | Description |
|---|---|---|
| q | String | Search query, searches titles and descriptions |
[
[
"None",
"I need help with my code!",
"None",
[
"reactConsole",
"khoury"
],
1698527693,
true,
2369180787
],
...
][]