-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: V4.0_WD01
-
Fix Version/s: V4.0_WD01
-
Component/s: CSDL XML, Protocol, URL Conventions
-
Labels:None
-
Environment:
[Applied]
-
Proposal:
-
Resolution:
Instead of a monolithic XML metadata document the metadata could be made available as an OData service with a fixed schema:
Entity types
- EntitySet
- EntityType
- Property
- Annotation
- ...
Entity sets
- EntitySets
- EntityTypes
- Properties
- Annotations
- ...
This meta-service could be accessed via a canonical URL, ideally ~/$metadata/ with $format=atom/json or a corresponding Accept header.
This would allow accessing only parts of the metadata document the client is interested in and simplify parsing for clients: they only need to know how to interpret "normal" OData feed and entity response payloads without needing a separate metadata format.
It would also conveniently provide a JSON format for metadata.