To be published on Exchange/public community documentation
What is "API Parity"?
The goal of Meadowlark is to able to "fool" a current API client: to be able to substitute the Ed-Fi API provided by Meadowlark with the API provided by the Ed-Fi ODS/API and have API clients continue to function/not realize that they were communicating with a different API. We refer to this as "API parity."
Broadly speaking, API parity was achieved, but there were some gaps. These gaps could be closed, but in each case the project chose not to do so. This document provides a list of the known gaps to API parity, and explains why the gap was left in place.
Will these gaps be closed?
Some may, but it is unlikely that all such gaps will be closed. Ed-Fi is an both an effort to build open source data infrastructure AND an effort to provide blueprints for standardize data flows. In respect of the latter goal of standardization, it is highly useful to compare API differences across API implementations.
Rather than try to close all these gaps, the goal should be to clearly define what API features are required and which should be allowed to vary. Doing so will allow for the development of alternative API implementations, whether through the open-source effort of the Ed-Fi community or through efforts independent outside of that community work.
List of API Parity Gaps
Support for "link" objects in JSON
Description | In the ODS/API, the JSON is annotated by "link" elements that show the path to the element using a GET by the resource ID. These elements appear like this: "gradingPeriodReference": { "gradingPeriodDescriptor": "uri://ed-fi.org/GradingPeriodDescriptor#First Six Weeks", "periodSequence": 1, "schoolId": 255901001, "schoolYear": 2022, "link": { "rel": "GradingPeriod", "href": "/ed-fi/gradingPeriods/0d4a8d72801240fd805ee118b2641b0f" } }, These elements do not appear in the GET elements provided by Meadowlark. |
---|---|
Likely direction | It is unlikely that these will be supported, and in general the direction is to continue to omit these from Ed-Fi API specifications.
|
Support for "discriminator" fields on abstract class EducationOrganization
GET: no support for limit and offset
Description | Currently the GET querystring parameters offset and limit are not supported. |
---|---|
Likely direction | If the project development continues, support for these will be a priority. Support for these is critical to allow for scaling of larger data pulls from the API, and fixing these issues would allow for larger scale testing of those capabilities, and for that reason would be a priority. |
Full authentication support
Description | Meadowlark's current authentication is hard coded to two key/secret pairs and hard-coded claims. |
---|---|
Likely direction | If the project development continues, this would be a candidate for further development. However, as this authentication pattern is well-known, it is not seen as an element of the proof-of-concept that there is high value in exploring. Therefore, this is likely to be a lower priority. |