Skip to content

r3.5

Latest

Choose a tag to compare

@camara-release-automation camara-release-automation released this 19 Nov 12:43
ae69017

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.

Breaking changes

  • Mandatory response property lastChecked can now be set to null by the API provider if they do not have this information

Added

  • New match-identifier endpoint added

  • 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 maxLength directive for all strings
      • Free-form model and manufacturer strings now limited to 32 characters
    • imei, imeisv and tac in responses are now constrained to 15, 16 and 8 digits
    • Tightening of ppid format by adding minLength: 64, maxLength: 128, and pattern: ^[a-fA-F0-9]{64,128}$ constraints
    • device.ipv4Address.publicPort must be at least 1 (0 was 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 retrievePPID to retrievePpid and schema DevicePPID to DevicePpid by @eric-murray in #179
    • Test definition file and scenario tags were renamed accordingly (device-identifier-retrievePpid.feature, @DeviceIdentifier_retrievePpid_...) in #189
  • 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 Properties example 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 device response property
  • 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_port now expect only INVALID_ARGUMENT, by #232

Full Changelog: r2.2...r3.5