You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Samvera community is committed to using industry standards when available.
Before and After changes
The json-api format would change the current format used for QA.
Search Results
BEFORE
[ { id: 1, label: "example title" } ]
AFTER
{
data: [ { id: 1, label: "example title" } ]
}
For linked data module with optional performance data and header response
BEFORE
{
performance_data: { ... }
response_header: {
start_record: 31 # the number of the first record returned
requested_records: 10 # the number of records requested (aka page size)
retrieved_records: 10 # the actual number of records returned in this request
total_records: 85 # the total number of matches for this search request
}
results: [ { uri: "http://example.com/1", id: 1, label: "example title" } ]
}
This would be a backwards-incompat change for current users of qa.
Maybe a transition period, where the current responses are still available at the current paths, backwards-compatibly, but there's another path where the json-api responses could be retrieved from?
Description
It was suggested that QA be refactored to conform to the json-api document standard.
Rationale
Samvera community is committed to using industry standards when available.
Before and After changes
The json-api format would change the current format used for QA.
Search Results
BEFORE
AFTER
For linked data module with optional performance data and header response
BEFORE
AFTER
Missing from this is the total count of records. More exploration is required to determine the best location to include this information.
Fetch/Show results
BEFORE
AFTER
The text was updated successfully, but these errors were encountered: