Others
Other APIs allow you to get information about the LinearFox platform and its services.
GET
/v1/maintenance/
(Get Maintenance Status)
Parameters:
name type data type description id
Path Parameter
string
The service to check the status of.
Responses:
status code data type description 200
object
The maintenance status of the service.
Example:
Example cURL
curl --location --request GET 'https://api.linearfox.com/v1/maintenance/' curl --location --request GET 'https://api.linearfox.com/v1/maintenance/1' curl --location --request GET 'https://api.linearfox.com/v1/maintenance/2' curl --location --request GET 'https://api.linearfox.com/v1/maintenance/3'
GET
/v1/other/updates/
(Get latest updates)
Parameters:
name type data type description limit
Path Parameter
integer
The number of updates to return.
Responses:
status code data type description 200
object
The latest updates.
Example:
curl --location --request GET 'https://api.linearfox.com/v1/other/updates/'
GET
/v1/search
(Search everything in LinearFox)
Parameters:
name type data type description input
query
string
The search query.
Responses:
status code data type description 200
object
The search results. 400
object
The search query is missing.
Example:
curl --location --request GET 'https://api.linearfox.com/v1/search?input=fargo'
POST
/v1/other/Ping
(Update user last seen)
Authorization required:
OAuth 2.0 Bearer Token
or
API Key
Responses:
http code content-type response 200
application/json
{"message": "ok",}
401
application/json
{"message": "Unauthorized & No token provided"}
Example:
curl --location --request POST 'https://api.linearfox.com/v1/other/ping' \ --header 'Authorization: Bearer [token]'