Repository navigation
Release Notes
This public release contains the definition and documentation of
- application-endpoint-registration 0.2.0
The API definition(s) are based on
- Commonalities r4.4 (0.9.0)
- Identity and Consent Management r4.2 (0.5.0)
application-endpoint-registration 0.2.0
application-endpoint-registration 0.2.0 is an initial public version of this API.
Changes documented below are compared to version 0.1.0.
- API definition with inline documentation:
Breaking changes
applicationEndpoints[].portnow requires a value between 1 and 65535 (previously 0 was accepted), inherited from the CommonalitiesPortschema by @maheshc01 in #40 and #55- New input limits on the request body of
registerApplicationEndpointsandupdateApplicationEndpoint:applicationEndpointsaccepts at most 20 entries;applicationDescriptionandapplicationEndpointDescriptionare limited to 2048 characters andapplicationProviderNameto 256 characters, and these three fields no longer accept line breaks by @maheshc01 in #40 - An
applicationProfileIdthat does not identify an existing application profile is now reported as404 NOT_FOUNDinstead of422 UNIDENTIFIABLE_APPLICATION_PROFILEby @maheshc01 in #49 and #55
Added
- Added test scenarios covering all five operations and the documented 400, 401, 403 and 404 error codes by @maheshc01 in #55
Changed
- Synced with CAMARA Commonalities r4.4 / 0.9.0 (previously 0.6) and Identity and Consent Management r4.2 (0.5.0) by @maheshc01 in #40 and #55
- 400, 401, 403 and 404 error responses aligned with the r4.4 response catalogue and shared examples
- Added the mandatory
info.descriptionsections (authorization and authentication, additional error responses, request body strictness) - Request bodies containing properties not declared in the API specification, at any nesting level, are rejected with
400 INVALID_ARGUMENT(Commonalities "Request body strictness" rule) - Added
maxLength,maxItemsandpatternconstraints to string and array fields (see Breaking changes for the limits that affect request bodies);getAllRegisteredApplicationEndpointsnow returns at most 20 endpoint lists port,ipv4Addressandipv6Addressnow reference the commonPort,SingleIpv4AddressandSingleIpv6Addressschemas;portminimum raised from 0 to 1 (see Breaking changes)
- Expanded the Introduction to explain how registered endpoints are used with the Application Endpoint Discovery API by @maheshc01 in #55
- Expanded the Errors section of the API description to document when each error response is returned, including
400 INVALID_ARGUMENTfor request bodies that do not comply with the schema and404 NOT_FOUNDwhenapplicationProfileIddoes not identify an existing application profile by @maheshc01 in #40 and #55 - Test definitions aligned with the API definition and the Commonalities API Testing Guidelines by @maheshc01 in #42 and #55
Fixed
- Test definitions referenced response schemas that do not exist in the API definition (
ApplicationEndpointsId,ApplicationEndpoints); corrected toApplicationEndpointListIdandApplicationEndpointListby @maheshc01 in #42 - Removed the "Further info and support" section, which referenced the GSMA Mobile Connect Account Takeover Protection specification and did not apply to this API by @maheshc01 in #55
- Corrected
externalDocsdescription and thegetApplicationEndpointsByIdoperation name in the API description by @maheshc01 in #55
Removed
- Removed the
422response (SERVICE_NOT_APPLICABLE,UNIDENTIFIABLE_APPLICATION_PROFILE) from all operations: the API takes no device identifier, andapplicationProfileIdis a required request property, so an unknown profile is reported as404 NOT_FOUND(see Breaking changes) by @maheshc01 in #49 and #55 - Removed the
404response fromgetAllRegisteredApplicationEndpoints, which does not look up a specific resource by @maheshc01 in #49 - Removed
400 OUT_OF_RANGEand403 INVALID_TOKEN_CONTEXTerror codes, which are not applicable to this API by @maheshc01 in #55
Full Changelog: r1.2...r2.3