Trust Mark list endpoint

Issue #1876 resolved
Giuseppe De Marco created an issue

Working on PR 457 the will to create a new endpoint for Trust Mark issuers has emerged.

To date the endpoint trust mark status only returns the status of a single trust mark id for a single entity.
We want to have an endpoint that, given a trust mark id, returns the list of entities that compliant to it.

The name of this endpoint, adopting the current convention, would look like this: federation_trust_mark_list_endpoint

unfortunately we don't entirely agree on this name because it would seem too long.

Personally I see two pros to adopt this long name, namely:

  1. respect the naming convention
  2. good semantics, the endpoint name speaks for the function

there would be the alternative of naming it federation_subjects_endpoint but I'm having a hard time understanding the benefits of using this name, if the only benefit is that of length

Comments (3)

  1. Giuseppe De Marco reporter

    what about adding the parameter exp and iat to filter trust marks valid until and not before?

    that would be useful for wallets that needs to download in the cache the list of trusted entities, until a specific expiration, for offline use cases where the implementation profile doesn’t use an entire static trust chain

  2. Log in to comment