Repository navigation
Release Notes
This public release contains the definition and documentation of
- device-identifier 0.4.0
The API definition(s) are based on
- Commonalities r4.4 (0.9.0)
- Identity and Consent Management r4.2 (0.5.0)
device-identifier 0.4.0
device-identifier 0.4.0 is an initial public version of this API.
Changes documented below are compared to version 0.3.0.
- API definition with inline documentation:
Breaking changes
- Mandatory response property
lastCheckedcan now be set tonullby the API provider if they do not have this information
Added
-
New match-identifier endpoint added
- Originally by @ALIIQBAL786 in #151
- Updated by @eric-murray in #202
POST /match-identifier(scopedevice-identifier:match-identifier) takes exactly one ofimei,imeisvortacand returnsmatchandlastChecked- Conformance test definitions added by @usmanTheCoder in #160 and updated by @eric-murray in #188
-
Added test cases for 429 error responses by @eric-murray in #225
- @DeviceIdentifier_matchIdentifier_429.01_Too_Many_Requests
- @DeviceIdentifier_matchIdentifier_429.02_Quota_Exceeded
- @DeviceIdentifier_retrieveIdentifier_429.01_Too_Many_Requests
- @DeviceIdentifier_retrieveIdentifier_429.02_Quota_Exceeded
- @DeviceIdentifier_retrievePpid_429.01_Too_Many_Requests
- @DeviceIdentifier_retrievePpid_429.02_Quota_Exceeded
- @DeviceIdentifier_retrieveType_429.01_Too_Many_Requests
- @DeviceIdentifier_retrieveType_429.02_Quota_Exceeded
-
Added tests for multiple device identifiers and missing end user consent by @eric-murray in #205
Changed
- Aligned with CAMARA Commonalities r4.4 (0.9.0) by @eric-murray in #167, #170, #213 and #215
- Use header, parameter, schema and error response definitions from Commonalities where possible rather than maintain local copies
- Add
maxLengthdirective for all strings- Free-form
modelandmanufacturerstrings now limited to 32 characters
- Free-form
imei,imeisvandtacin responses are now constrained to 15, 16 and 8 digits- Tightening of
ppidformat by addingminLength: 64,maxLength: 128, andpattern: ^[a-fA-F0-9]{64,128}$constraints device.ipv4Address.publicPortmust be at least 1 (0was allowed before but is not a usable port)- Updated the info.description template sections and added the section on request body strictness: requests with undeclared properties are rejected with
400 INVALID_ARGUMENT
- Updated and clarified tests for applicability to 2-legged and/or 3-legged access tokens by @eric-murray in #189
- Renamed operationId
retrievePPIDtoretrievePpidand schemaDevicePPIDtoDevicePpidby @eric-murray in #179- Test definition file and scenario tags were renamed accordingly (
device-identifier-retrievePpid.feature,@DeviceIdentifier_retrievePpid_...) in #189
- Test definition file and scenario tags were renamed accordingly (
- Made lastChecked property nullable and added examples by @eric-murray in #184
- Various documentation additions, updates and fixes for consistency, accuracy and clarity by @eric-murray in #198
- Added dedicated response body schema and updated tests by @eric-murray in #203
- Changed networkaccessidentifier example to use example.com by @Kevsy in #147
Fixed
- Fixed typo in test scenario 200.05 by @eric-murray in #155
- Fixed ipv4Address typo in feature files by @eric-murray in #182
- Fixed test definition component references by @eric-murray in #197 and #203
- Removed the
Inconsistent Device Propertiesexample for 400 INVALID_ARGUMENT by @eric-murray in #196- No error is returned when the supplied device identifiers do not identify the same device, as 0.3.0 already stated for the
deviceresponse property
- No error is returned when the supplied device identifiers do not identify the same device, as 0.3.0 already stated for the
- Fixed typos, add missing elements, and remove ambiguities in test definitions by @eric-murray in #237
Removed
- Removed 400 OUT_OF_RANGE as a valid error response code by @eric-murray in #225, as all schema non-compliance will be caught by 400 INVALID_ARGUMENT
- Not breaking: the 0.3.0 test definitions already accepted 400 INVALID_ARGUMENT for an out-of-range port
- Test scenarios
400.5_out_of_range_portnow expect only INVALID_ARGUMENT, by #232
Full Changelog: r2.2...r3.5