
# Imports
from flask_restx import Namespace, Resource
from api.utils.ressources import PlainTextResource

# API documentation init
api = Namespace('status', description='General API information')


@api.route('')
class Status(Resource, PlainTextResource):

    @api.response(200, "Success")
    def get(self):
        """
        Return the API server status.
        Return "Alive!" if this API server is online.
        """

        # Return a plain text response
        return self.plain_text_response("Alive!", 200)

b9203a10ee7de0e2ce914175f72b60a501b8837f
<mask token>


@api.route('')
class Status(Resource, PlainTextResource):
    <mask token>

<mask token>


@api.route('')
class Status(Resource, PlainTextResource):

    @api.response(200, 'Success')
    def get(self):
        """
        Return the API server status.
        Return "Alive!" if this API server is online.
        """
        return self.plain_text_response('Alive!', 200)

<mask token>
api = Namespace('status', description='General API information')


@api.route('')
class Status(Resource, PlainTextResource):

    @api.response(200, 'Success')
    def get(self):
        """
        Return the API server status.
        Return "Alive!" if this API server is online.
        """
        return self.plain_text_response('Alive!', 200)

from flask_restx import Namespace, Resource
from api.utils.ressources import PlainTextResource
api = Namespace('status', description='General API information')


@api.route('')
class Status(Resource, PlainTextResource):

    @api.response(200, 'Success')
    def get(self):
        """
        Return the API server status.
        Return "Alive!" if this API server is online.
        """
        return self.plain_text_response('Alive!', 200)


# Imports
from flask_restx import Namespace, Resource
from api.utils.ressources import PlainTextResource

# API documentation init
api = Namespace('status', description='General API information')


@api.route('')
class Status(Resource, PlainTextResource):

    @api.response(200, "Success")
    def get(self):
        """
        Return the API server status.
        Return "Alive!" if this API server is online.
        """

        # Return a plain text response
        return self.plain_text_response("Alive!", 200)
