Others

Others

Other APIs allow you to get information about the LinearFox platform and its services.

GET /v1/maintenance/ (Get Maintenance Status)

Parameters:

nametypedata typedescription
idPath ParameterstringThe service to check the status of.

Responses:

status codedata typedescription
200objectThe 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:

nametypedata typedescription
limitPath ParameterintegerThe number of updates to return.

Responses:

status codedata typedescription
200objectThe latest updates.

Example:

curl --location --request GET 'https://api.linearfox.com/v1/other/updates/'
GET /v1/search (Search everything in LinearFox)

Parameters:

nametypedata typedescription
inputquerystringThe search query.

Responses:

status codedata typedescription
200objectThe search results.
400objectThe 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 codecontent-typeresponse
200application/json{"message": "ok",}
401application/json{"message": "Unauthorized & No token provided"}

Example:

curl --location --request POST 'https://api.linearfox.com/v1/other/ping' \
     --header 'Authorization: Bearer [token]'