The API documentation does do this somewhat, more below, but needs improvement.
There is a, status-planned, feature request to allow users to edit the documentation. Please go upvote that now.
Anyway, each of the properties is listed in the documentation of the object that contains it.
For example the badge
object (Click for larger view):
Each object page shows:
- A general overview of the object.
- A list of properties ("Fields") that are potentially returned.
- The type of those properties, whether they are returned by default, and whether they need an authenticated user to access (denoted with
private_info
). - Examples of the output/return of the object.
- A list of methods (AKA "routes" or "queries") that return the object type.
Rarely, you can get more information about a particular property if it is documented in the data-dump schema, but this is very hit or miss.
The object documentation pages are linked from the method/route documentation page(s) that return(s) said object.
For example, from the /badges/name
route:
Unfortunately, that seems to be the only way to get to these pages; there is no central list.
So, here is a list of the available object pages (API version 2.2):
- Wrapper Object (This is the parent/root container for everything else/below.)
- access_token
- account_merge
- answer
- badge
- badge_count
- closed_details
- comment
- error
- event
- filter
- flag_option
- inbox_item
- info
- migration_info
- network_activity
- network_post
- network_user
- notice
- notification
- original_question
- post
- privilege
- question
- question_timeline
- related_site
- reputation
- reputation_history
- revision
- search_excerpt
- shallow_user
- site
- styling
- suggested_edit
- tag
- tag_score
- tag_synonym
- tag_wiki
- top_tag
- user
- Wrapper Objectuser_timeline
- write_permission