          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]
  
      def post(self, request):
          """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."""
          unique_id = str(uuid.uuid1())
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
  
          lexer = get_lexer_by_name(self.CONTENT['lexer'])
          linenos = 'table' if self.CONTENT['linenos'] else False
 
</s> remove         """Return a list of all currently existing snippets."""
 </s> add         """
        Return a list of all currently existing snippets.
        """ </s> remove     def post(self, request, auth, content):
        """Create a new stored object, with a unique key."""
 </s> add     def post(self, request):
        """
        Create a new stored object, with a unique key.
        """ </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         """For the purposes of the sandbox, limit the maximum number of stored models."""
 </s> add         """
        For the purposes of the sandbox limit the maximum number of stored models.
        """
        """
        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.
        """
          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]
  
      def post(self, request):
        """
        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.
        """
        """
        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.
        """
          unique_id = str(uuid.uuid1())
          pathname = os.path.join(HIGHLIGHTED_CODE_DIR, unique_id)
  
          lexer = get_lexer_by_name(self.CONTENT['lexer'])
          linenos = 'table' if self.CONTENT['linenos'] else False
keep keep keep keep replace replace keep keep keep keep keep
 Fixing some of the last blocking issues 
examples/pygments_api/views.py