I am working with the MAshery API to pull various member and API key information. I have to use trial and error to figure out the exact schema of the json responses that are returned for a given call. It would be great if we could get:
1. Complete list of all object types with fields
2. Schema definitions for each type of API call (i.e., SELECT * FROM MEMBERS)
Message edited by Kevin Kohut 3 years ago
3 years ago
You don't need to resort to trail and error. There is an introspection ability built into the api itself. To get a list of available objects, please see the object.list api call.
This currently returns: "application","member","key","role","service","developer_class","service_class".
You can also call the object.describe method to receive a description of which fields are available for any given object.
I hope this helps.
Please sign in to add a post.