Skip to content

Commit

Permalink
docs: Update documentation for GET /templates (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
LinkedList authored Sep 21, 2020
1 parent 0993731 commit 48264f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5206,6 +5206,7 @@ Transactional templates are templates created specifically for transactional ema
Request request = new Request();
request.setMethod(Method.GET);
request.setEndpoint("templates");
request.addQueryParam("generations", "legacy,dynamic")
Response response = sg.api(request);
System.out.println(response.getStatusCode());
System.out.println(response.getBody());
Expand Down
1 change: 1 addition & 0 deletions examples/templates/templates.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static void main(String[] args) throws IOException {
Request request = new Request();
request.setMethod(Method.GET);
request.setEndpoint("templates");
request.addQueryParam("generations", "legacy,dynamic")
Response response = sg.api(request);
System.out.println(response.getStatusCode());
System.out.println(response.getBody());
Expand Down

0 comments on commit 48264f5

Please sign in to comment.