original_string: public function revisions($file, $limit = 10)
      {
          $call = 'revisions/' . $this->root . '/' . $this->encodePath($file);
          $params = array(
              'rev_limit' => ($limit < 1) ? 1 : (($limit > 1000) ? 1000 : (int) $limit),
          );
          $response = $this->fetch('GET', self::API_URL, $call, $params);
          return $response;
      }
code: public function revisions($file, $limit = 10)
      {
          $call = 'revisions/' . $this->root . '/' . $this->encodePath($file);
          $params = array(
              'rev_limit' => ($limit < 1) ? 1 : (($limit > 1000) ? 1000 : (int) $limit),
          );
          $response = $this->fetch('GET', self::API_URL, $call, $params);
          return $response;
      }
code_tokens: public function revisions ( $ file , $ limit = 10 ) { $ call = 'revisions/' . $ this -> root . '/' . $ this -> encodePath ( $ file ) ; $ params = array ( 'rev_limit' => ( $ limit < 1 ) ? 1 : ( ( $ limit > 1000 ) ? 1000 : ( int ) $ limit ) , ) ; $ response = $ this -> fetch ( 'GET' , self :: API_URL , $ call , $ params ) ; return $ response ; }
docstring: Obtains metadata for the previous revisions of a file
  @param string Path to the file, relative to root
  @param integer Number of revisions to return (1-1000)
  @return array
docstring_tokens: Obtains metadata for the previous revisions of a file