parameters: (self)
return_statement: return {'pages': pages, 'data': data, 'entries': entries}
docstring: Returns logs of supplied token
          (owner of the token must be logged in :D)
docstring_summary: Returns logs of supplied token
          (owner of the token must be logged in :D)
docstring_tokens: Returns logs of supplied token ( owner of the token must be logged in : D )
function: def post(self):
          """
          Returns logs of supplied token
          (owner of the token must be logged in :D)
          """
          parser = reqparse.RequestParser()
          parser.add_argument('uuid', help = 'This field cannot be blank', required = True)
          parser.add_argument('page', help = 'This field cannot be blank', required = False)
          args = parser.parse_args()
          page = int(args['page']) if args['page'] else 1
          entries, pages, data = LogModel.uuid_logs(args['uuid'], get_jwt_identity(), page=page)
          return {'pages': pages, 'data': data, 'entries': entries}
function_tokens: def post ( self ) : parser = reqparse . RequestParser ( ) parser . add_argument ( 'uuid' , help = 'This field cannot be blank' , required = True ) parser . add_argument ( 'page' , help = 'This field cannot be blank' , required = False ) args = parser . parse_args ( ) page = int ( args [ 'page' ] ) if args [ 'page' ] else 1 entries , pages , data = LogModel . uuid_logs ( args [ 'uuid' ] , get_jwt_identity ( ) , page = page ) return { 'pages' : pages , 'data' : data , 'entries' : entries }