Open cds-amal opened 3 weeks ago
I can just offer that the standard REST API nomenclature is:
also potentially want to look at the following din_api -> din_registry endpointMeta -> methodMetaData
also i would like to discuss potential renaming endpointCollectionRegistry to something that more closely resembles the representation of the network/services that it represents. for example like serviceRegistry or networkRegistry. Reason being the collection of methods that these structs represent really are just describing the capabilities of a service/network within the Din Protocol. My opinion is that method management doesn't need to take up so much space when it comes to the naming and organization of the data definitions.
updates from the meeting:
rename dinApi to dinRegistry
change references of endpointCollection to network
collectionService -> networkService
endpointMeta -> networkMeta
potentially rename endpointCollectionRegistry(networkRegistry) -> networkHashTable or networkDict
Summary
This issue addresses the ongoing taxonomy concerns within the DIN API suite, focusing on the proposal to replace the term "Endpoint" with "Method" for consistency and clarity. Since this is part of a larger set of terminology changes, we should track and manage these updates holistically to ensure alignment across the project.
Proposal
Rationale
The terms "Method" and "Endpoint" have well-established meanings in the INFURA and broader infrastructure domain. To align with industry standards, we should adhere to these conventions.
List of terms under review:
Action Items
Next Steps
Additional Considerations
Reference