Permalink
Browse files

Added demo configuration for array parameters

  • Loading branch information...
1 parent b61802a commit 32df36454836e26a200f426d3dc992ecf9f15e8a @stou committed Jan 2, 2013
Showing with 30 additions and 0 deletions.
  1. +7 −0 public/data/apiconfig.json
  2. +23 −0 public/data/arrayparamdemo.json
@@ -1,4 +1,11 @@
{
+ "arrayparamdemo": {
+ "name": "Stou array param demo",
+ "protocol": "http",
+ "baseURL": "localhost",
+ "publicPath": "/1",
+ "headers" : {}
+ },
"klout": {
"name": "Klout API",
"protocol": "http",
@@ -0,0 +1,23 @@
+{
+ "endpoints":[
+ {
+ "name":"MyDemo",
+ "methods":[
+ {
+ "MethodName":"MyMethod",
+ "Synopsis":"Demonstrates how to specify parameter of array type",
+ "HTTPMethod":"GET",
+ "URI":"/my-method",
+ "RequiresOAuth":"N",
+ "parameters":[
+ {
+ "Name":"myArrayParam",
+ "Type":"array",
+ "Description":"Array of values"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}

0 comments on commit 32df364

Please sign in to comment.