Browse files

Add maxage for scripts and amazon regions (for caching)

  • Loading branch information...
1 parent 7b71b58 commit 7913f300cccc79c59a2feac42225bbb26c042766 @DukeyToo DukeyToo committed Mar 14, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 perfectapi.json
View
2 perfectapi.json
@@ -23,6 +23,7 @@
"synopsis": "Lists available scripts for use in gen",
"description": "Finds the available scripts, which are stored in subfolders of the root (see root option)",
"verb": "GET",
+ "maxage": 60,
"options":
[{"option": "root", "required":"false", "long":"root", "short":"r", "description":"specify the root folder where scripts can be found"}],
"returns":
@@ -33,6 +34,7 @@
"synopsis": "Lists available Amazon regions",
"description": "Lists the available regions",
"verb": "GET",
+ "maxage": 172800,
"returns":
[{"name":"regions", "type":"list", "description":"List of amazon regions"} ]
}

0 comments on commit 7913f30

Please sign in to comment.