      form = PygmentsForm
  
      def get(self, request):
          """
          Return a list of all currently existing snippets.
          """
          unique_ids = [os.path.split(f)[1] for f in list_dir_sorted_by_ctime(HIGHLIGHTED_CODE_DIR)]
          return [reverse('pygments-instance', args=[unique_id]) for unique_id in unique_ids]
 
</s> remove         """Return a list of all currently existing snippets."""
 </s> add         """
        Return a list of all currently existing snippets.
        """ </s> remove class PygmentsRoot(Resource):
    """This example demonstrates a simple RESTful Web API aound the awesome pygments library.
    This top level resource is used to create highlighted code snippets, and to list all the existing code snippets."""
 </s> add class PygmentsFormResource(FormResource):
    """
    """ </s> remove         """Create a new highlighed snippet and return it's location.
        For the purposes of the sandbox example, also ensure we delete the oldest snippets if we have > MAX_FILES."""
 </s> add         """
        Create a new highlighed snippet and return it's location.
        For the purposes of the sandbox example, also ensure we delete the oldest snippets if we have > MAX_FILES.
        """ </s> remove     def get(self, request, auth):
        """Return a list of all the stored object URLs. (Ordered by creation time, newest first)"""
 </s> add     def get(self, request):
        """
        Return a list of all the stored object URLs. (Ordered by creation time, newest first)
        """ </s> remove     """Return a list of files sorted by creation time"""
 </s> add     """
    Return a list of files sorted by creation time
    """
class PygmentsRoot(BaseView):
    """
    This example demonstrates a simple RESTful Web API aound the awesome pygments library.
    This top level resource is used to create highlighted code snippets, and to list all the existing code snippets.
    """
    resource = PygmentsFormResource

      form = PygmentsForm
  
class PygmentsRoot(BaseView):
    """
    This example demonstrates a simple RESTful Web API aound the awesome pygments library.
    This top level resource is used to create highlighted code snippets, and to list all the existing code snippets.
    """
    resource = PygmentsFormResource

      def get(self, request):
          """
          Return a list of all currently existing snippets.
          """
          unique_ids = [os.path.split(f)[1] for f in list_dir_sorted_by_ctime(HIGHLIGHTED_CODE_DIR)]
          return [reverse('pygments-instance', args=[unique_id]) for unique_id in unique_ids]
keep add keep keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py