diff --git a/kittycad/api/api-calls/get_api_call_metrics.py b/kittycad/api/api-calls/get_api_call_metrics.py index 16a96f2c6..c7687e051 100644 --- a/kittycad/api/api-calls/get_api_call_metrics.py +++ b/kittycad/api/api-calls/get_api_call_metrics.py @@ -13,7 +13,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/api-call-metrics".format(client.base_url, group_by=group_by) + url = "{}/api-call-metrics?group_by={group_by}".format(client.base_url, group_by=group_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/api-calls/list_api_calls.py b/kittycad/api/api-calls/list_api_calls.py index c449129ec..debe49276 100644 --- a/kittycad/api/api-calls/list_api_calls.py +++ b/kittycad/api/api-calls/list_api_calls.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/api-calls".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) + url = "{}/api-calls?limit={limit}&page_token={page_token}&sort_by={sort_by}".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/api-calls/list_api_calls_for_user.py b/kittycad/api/api-calls/list_api_calls_for_user.py index 2d0d1dd69..5dea687b8 100644 --- a/kittycad/api/api-calls/list_api_calls_for_user.py +++ b/kittycad/api/api-calls/list_api_calls_for_user.py @@ -16,7 +16,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/users/{id}/api-calls".format(client.base_url, id=id, limit=limit, page_token=page_token, sort_by=sort_by) + url = "{}/users/{id}/api-calls?limit={limit}&page_token={page_token}&sort_by={sort_by}".format(client.base_url, id=id, limit=limit, page_token=page_token, sort_by=sort_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/api-calls/user_list_api_calls.py b/kittycad/api/api-calls/user_list_api_calls.py index 6fa1e447a..f51f76ce8 100644 --- a/kittycad/api/api-calls/user_list_api_calls.py +++ b/kittycad/api/api-calls/user_list_api_calls.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/user/api-calls".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) + url = "{}/user/api-calls?limit={limit}&page_token={page_token}&sort_by={sort_by}".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/api-tokens/list_api_tokens_for_user.py b/kittycad/api/api-tokens/list_api_tokens_for_user.py index 6fc55ffb6..22760b8cc 100644 --- a/kittycad/api/api-tokens/list_api_tokens_for_user.py +++ b/kittycad/api/api-tokens/list_api_tokens_for_user.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/user/api-tokens".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) + url = "{}/user/api-tokens?limit={limit}&page_token={page_token}&sort_by={sort_by}".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/file/create_file_execution.py b/kittycad/api/file/create_file_execution.py index eee90789b..18f759675 100644 --- a/kittycad/api/file/create_file_execution.py +++ b/kittycad/api/file/create_file_execution.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/file/execute/{lang}".format(client.base_url, lang=lang, output=output) + url = "{}/file/execute/{lang}?output={output}".format(client.base_url, lang=lang, output=output) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/file/create_file_mass.py b/kittycad/api/file/create_file_mass.py index f9cafa90e..8565160f3 100644 --- a/kittycad/api/file/create_file_mass.py +++ b/kittycad/api/file/create_file_mass.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/file/mass".format(client.base_url, material_density=material_density, src_format=src_format) + url = "{}/file/mass?material_density={material_density}&src_format={src_format}".format(client.base_url, material_density=material_density, src_format=src_format) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/file/create_file_volume.py b/kittycad/api/file/create_file_volume.py index 4d5408791..9b70d7a16 100644 --- a/kittycad/api/file/create_file_volume.py +++ b/kittycad/api/file/create_file_volume.py @@ -14,7 +14,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/file/volume".format(client.base_url, src_format=src_format) + url = "{}/file/volume?src_format={src_format}".format(client.base_url, src_format=src_format) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/users/list_users.py b/kittycad/api/users/list_users.py index 76ca40f62..c103e426e 100644 --- a/kittycad/api/users/list_users.py +++ b/kittycad/api/users/list_users.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/users".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) + url = "{}/users?limit={limit}&page_token={page_token}&sort_by={sort_by}".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies() diff --git a/kittycad/api/users/list_users_extended.py b/kittycad/api/users/list_users_extended.py index ed7ebddea..32151c5b3 100644 --- a/kittycad/api/users/list_users_extended.py +++ b/kittycad/api/users/list_users_extended.py @@ -15,7 +15,7 @@ def _get_kwargs( *, client: Client, ) -> Dict[str, Any]: - url = "{}/users-extended".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) + url = "{}/users-extended?limit={limit}&page_token={page_token}&sort_by={sort_by}".format(client.base_url, limit=limit, page_token=page_token, sort_by=sort_by) headers: Dict[str, Any] = client.get_headers() cookies: Dict[str, Any] = client.get_cookies()