Skip to content

Commit

Permalink
Merge pull request #88 from smartsheet/personal/rreynolds/add-prod-eu…
Browse files Browse the repository at this point in the history
…-url

added EU API URI and made it little clearer that the default is the US API URI
  • Loading branch information
ronreynolds committed Aug 11, 2024
2 parents 73034a6 + 9f79751 commit e5a7b43
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/java/com/smartsheet/api/SmartsheetBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,17 @@ public class SmartsheetBuilder {
*/
private String changeAgent;

/** URI to prod-us API endpoints */
public static final String US_BASE_URI = "https://api.smartsheet.com/2.0/";
/** URI to prod-eu API endpoints */
public static final String EU_BASE_URI = "https://api.smartsheet.eu/2.0/";

/**
* <p>Represents the default base URI of the Smartsheet REST API.</p>
*
* <p>It is a constant with value "https://api.smartsheet.com/2.0".</p>
*/
public static final String DEFAULT_BASE_URI = "https://api.smartsheet.com/2.0/";
public static final String DEFAULT_BASE_URI = US_BASE_URI;

/**
* <p>Represents the default base URI of the Smartsheetgov REST API.</p>
Expand Down

0 comments on commit e5a7b43

Please sign in to comment.