"description":"Selector specifying which fields to include in a partial response.",
"location":"query"
},
"key":{
"type":"string",
"description":"API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location":"query"
},
"oauth_token":{
"type":"string",
"description":"OAuth 2.0 token for the current user.",
"location":"query"
},
"prettyPrint":{
"type":"boolean",
"description":"Returns response with indentations and line breaks.",
"default":"true",
"location":"query"
},
"quotaUser":{
"type":"string",
"description":"Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.",
"location":"query"
},
"userIp":{
"type":"string",
"description":"IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
"location":"query"
}
},
"schemas":{
"Thing":{
"id":"Thing",
"type":"object",
"properties":{
"id":{
"type":"string"
},
"etag":{
"type":"string"
},
"kind":{
"type":"string",
"default":"test#thing"
},
"name":{
"type":"string"
},
"enabled":{
"type":"boolean"
},
"hat":{
"$ref":"Hat"
},
"properties":{
"$ref":"HashLikeThing"
},
"photo":{
"type":"object",
"properties":{
"filename":{
"type":"string"
},
"hash":{
"type":"string"
},
"hashAlgorithm":{
"type":"string"
},
"size":{
"type":"integer"
},
"type":{
"type":"string"
}
}
}
}
},
"Hat":{
"type":"object",
"variant":{
"discriminant":"type",
"map":[
{
"type_value":"topHat",
"$ref":"TopHat"
},
{
"type_value":"baseballHat",
"$ref":"BaseballHat"
}
]
}
},
"TopHat":{
"type":"object",
"properties":{
"type":{
"type":"string"
},
"height":{
"type":"number"
}
}
},
"BaseballHat":{
"type":"object",
"properties":{
"type":{
"type":"string"
},
"color":{
"type":"string"
}
}
},
"HashLikeThing":{
"id":"HashLikeThing",
"type":"object",
"additionalProperties":{
"type":"string",
"description":"A mapping from export format to URL"
}
},
"TestThing":{
"id":"TestThing",
"type":"object",
"properties":{}
},
"TestAnotherThing":{
"id":"TestAnotherThing",
"type":"object",
"properties":{}
},
"ThingList":{
"id":"ThingList",
"type":"object",
"properties":{
"items":{
"type":"array",
"description":"The actual list of files.",
"items":{
"$ref":"Thing"
}
},
"kind":{
"type":"string",
"default":"test#thinglist"
}
}
},
"QueryResults":{
"id":"QueryResults",
"type":"object",
"properties":{
"rows":{
"$ref":"Rows"
}
}
},
"Rows":{
"id":"QueryResults",
"type":"array",
"items":{
"type":"object",
"properties":{
"value":{
"type":"string"
}
}
}
}
},
"methods":{
"query":{
"path":"query",
"id":"test.query",
"httpMethod":"GET",
"response":{
"$ref":"QueryResults"
//"$ref": "Rows" TODO: Support naked collections as a return value