### Example Tableau REST API Version 3.5 URL Path Source: https://github.com/tableau/rest-api-samples/blob/master/java/README.md This snippet shows an example of the Tableau REST API URL path for version 3.5, which is found within the getApiUriBuilder() method. Users are instructed to replace this with their desired API version. ```Plain Text /api/3.5/ ``` -------------------------------- ### Compiling Tableau REST API Java Sample with Ant Source: https://github.com/tableau/rest-api-samples/blob/master/java/README.md This command is used to compile the sample Java code and download any necessary dependencies using Apache Ant. It must be executed from the sample code's parent directory in a command prompt. ```Shell ant ``` -------------------------------- ### Running Tableau REST API Java Sample with Ant Source: https://github.com/tableau/rest-api-samples/blob/master/java/README.md This command executes the compiled Tableau REST API Java sample code after successful compilation. It should be run from the sample code's parent directory in a command prompt. ```Shell ant run ``` -------------------------------- ### Example Tableau REST API Version 3.4 URL Path Source: https://github.com/tableau/rest-api-samples/blob/master/java/README.md This snippet demonstrates how to modify the Tableau REST API URL path to use version 3.4, replacing the default version found in the getApiUriBuilder() method. This allows the sample to target a specific API version. ```Plain Text /api/3.4/ ``` -------------------------------- ### Locating RestApiUtils.java File Path Source: https://github.com/tableau/rest-api-samples/blob/master/java/README.md This snippet provides the file path to the RestApiUtils.java file, which needs to be opened for modification to update the API version. This file is crucial for configuring the Tableau REST API endpoint. ```Plain Text src\com\tableausoftware\documentation\api\rest\util\RestApiUtils.java ``` -------------------------------- ### Executing Tableau REST API Python Samples (Command Line) Source: https://github.com/tableau/rest-api-samples/blob/master/python/README.md This command illustrates the standard method for running any of the Tableau REST API Python sample scripts from the command line. It requires two arguments: the server address (without a trailing slash) and the username for authentication. ```Shell python sample_file_name.py ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.