Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Get a List of Objects If Metadata Has Changed
You can include the If-Modified-Since header with a date in EEE, dd MMM yyyy HH:mm:ss z format when you use the Describe Global resource. If you do, response metadata is returned only if an available object’s metadata has changed since the provided date. If no metadata has been modified since the provided date, a 304 Not Modified status code is returned with no response body.
The following example assumes that no changes have been made to objects after March 23, 2015.
If changes to an object were made after March 23, 2015, the response body contains metadata for all available objects. For an example, see Get a List of Objects.
Example Describe Global request
/services/data/v67.0/sobjects
Example If-Modified-Since header used with request
If-Modified-Since: Tue, 23 Mar 2015 00:00:00 GMT
Example response body
No response body returned
Example response status code
1HTTP/1.1 304 Not Modified
2Date: Wed, 25 Jul 2015 00:05:46 GMT