Add 2 new readonly endpoints to be able to get details of an individual schema or field from a schema:
Possible Implementation
Query schema GET /dictionaries/{dictionary_id}/schemas/{schema_name} -> Return full schema only
Query field GET /dictionary/{dictionary_id}/schema/{schema_name}/field/{field_name} -> Return full schema only
Refactor Suggestion
This suggests changing the endpoint name from /dictionaries to /dictionary for fetching an individual dictionary. We could easily support both with the /dictionaries being marked as deprecated. Fetching an individual resource is sensible named in singular.
Detailed Description
Add 2 new readonly endpoints to be able to get details of an individual schema or field from a schema:
Possible Implementation
GET /dictionaries/{dictionary_id}/schemas/{schema_name}
-> Return full schema onlyGET /dictionary/{dictionary_id}/schema/{schema_name}/field/{field_name}
-> Return full schema onlyRefactor Suggestion
This suggests changing the endpoint name from
/dictionaries
to/dictionary
for fetching an individual dictionary. We could easily support both with the/dictionaries
being marked as deprecated. Fetching an individual resource is sensible named in singular.