Getting Information About My Organization
The examples in this section use REST API resources to retrieve organization-level information, such as a list of all objects available in your organization.
-
List Available REST API Versions
Use the Versions resource to list summary information about each REST API version currently available, including the version, label, and a link to each version’s root. You don’t need authentication to retrieve the list of versions.
-
Use the Limits resource to list your org limits.
-
Use the Resources by Version resource to list the resources available for the specified API version. This provides the name and URI of each additional resource.
-
Use the Describe Global resource to list the objects available in your org and available to the logged-in user. This resource also returns the org encoding, as well as maximum batch size permitted in queries.
-
Get a List of Objects If Metadata Has Changed
Use the Describe Global resource and the
If-Modified-SinceHTTP header to determine if an object’s metadata has changed.