Base URL: https://api.tenderloin.tech
No parameters
Parameter Name
Datatype
Description
username
String
password
String
{
"result" : {
"password" : true
}
}
{
"result" : {
"password" : false ,
"returnedPassword" : <String>
}
}
POST /api/v1/createAccount
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
],
...
]
GET /api/v1/sortByUserType/
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
],
...
]
POST /api/v1/createNewRequest
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
],
...
]
GET /api/v1/sortRequestsByTag
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
],
...
]
GET /api/v1/searchRequests
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
],
...
]