DIN-center / din-sc

1 stars 0 forks source link

Standardize API Naming Conventions #39

Open cds-amal opened 3 weeks ago

cds-amal commented 3 weeks ago

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

  1. Review, implement the changes, and close the issue once all updates have been merged.

Additional Considerations

Reference

  1. https://github.com/DIN-center/din-sc/pull/37#discussion_r1744201505
clemenswancs commented 3 weeks ago

I can just offer that the standard REST API nomenclature is:

natefikru commented 3 weeks ago

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.

natefikru commented 2 weeks ago

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