title: Django Rest Framework, passing attributes in the url
body: <p>So I have this 2 models:</p>
  
  <pre><code>class ProductQualityMonitor(models.Model):
  
      product_name = models.CharField(..)
      area = models.CharField(...))
      timeslot = models.DateTimeField(...)
  
      def get_measured_parameters(self):
          (...)
  
  class QualityParameter(models.Model):
      PARAMETER_CHOICES = (
          (MEAN, MEAN),
          (MEDIAN, MEDIAN),
          (MAXIMUM, MAXIMUM),
          (MINIMUM, MINIMUM),
      )
  
      name = models.CharField(max_length=50, choices=PARAMETER_CHOICES)
      value = models.FloatField()
      product = models.ForeignKey(ProductQualityMonitor,
                                  related_name="parameters")
  </code></pre>
  
  <p>I need to get some aggregate stats about the quality parameters. I have a method that receives some attributes, like the date range, and aggregates the stats ten by ten for each parameter, and at the end returns a json object with all the aggregate stats.</p>
  
  <p>My doubt is: can I call this method, passing the parameters that the method needs in the url, and see the results? And, if i can, how do I do it?</p>
  
  <p>Sorry if my explanation is a little messy, I am new in Django.</p>