MCPcopy Create free account
hub / github.com/tiny-pilot/tinypilot / status_get

Function status_get

app/api.py:635–646  ·  view source on GitHub ↗

Checks the status of TinyPilot. This endpoint may be called from all locations, so there is no restriction in regards to CORS. Returns: Empty response, which implies the server is up and running.

()

Source from the content-addressed store, hash-verified

633@api_blueprint.route('/status', methods=['GET'])
634@no_auth_required()
635def status_get():
636 """Checks the status of TinyPilot.
637
638 This endpoint may be called from all locations, so there is no restriction
639 in regards to CORS.
640
641 Returns:
642 Empty response, which implies the server is up and running.
643 """
644 response = json_response.success()
645 response.headers['Access-Control-Allow-Origin'] = '*'
646 return response
647
648
649@api_blueprint.route('/settings/requiresHttps', methods=['GET'])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected