-
-
Save yhaskell/c493bf1364f6a3a7c611 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/classes: | |
/{className}: | |
type: { parseMember: { schema: installationGet } } | |
description: Collection of class instances | |
get: | |
description: | | |
Retreives objects. The response body is a JSON object containing all the user-provided fields, | |
plus the createdAt, updatedAt, and objectId fields. | |
body: | |
application/x-www-form-urlencoded: | |
formParameters: | |
include: | |
description: Fetch child objects pointed to by the key | |
example: include=game | |
responses: | |
200: | |
body: | |
application/json: | |
schema: | | |
{ | |
"type" : "object" , | |
"$schema" : "http://json-schema.org/draft-03/schema" , | |
"required" : true , | |
"properties" : { | |
"results" : { | |
"type" : "array" , | |
"required" : true , | |
"items" : { | |
"type" : "object" , | |
"required" : false , | |
"properties" : { | |
"createdAt" : { | |
"type" : "string" , | |
"required" : true | |
} , | |
"objectId" : { | |
"type" : "string" , | |
"required" : true | |
} , | |
"updatedAt" : { | |
"type" : "string" , | |
"required" : true | |
} | |
} , | |
"patternProperties" : { | |
"^[a-zA-Z0-9_]+$" : { | |
"type" : "any" , | |
"required" : false | |
} | |
} , | |
"additionalProperties" : false | |
} | |
} | |
} , | |
"additionalProperties" : false | |
} | |
example: !include examples/classesQuery.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment