How to filter returned rows when calling the Coda API

Hey there!

I am trying to use the “Filter query” as explained in the API docs, but with Javascript, but keep on running into errors.

Is anyone familiar on how to structure the “query” parameters inside of the URL?

The query at the end of the url is: “query=c-6euPSWeAb9:‘A113’”

My code currently looks like this:

function listSpecificRows(){
  $(document).ready(function() {
    $.ajax({
      url: "https://coda.io/apis/v1/docs/"+ WarehouseMapId + "/tables/" + TestTableId + "/rows" + "query=c-6euPSWeAb9:'A113'" ,
      type: "GET",
      headers: {"Authorization": 'Bearer TOKEN'},
      success: function(result) {
        console.log(result);
      },
      error: function(error) {
        console.log(error);
      }
    });
  });
};