Open APIs

ย View Only
  • 1.  is slug a useful concept for TMF OpenAPIs

    Posted Oct 05, 2022 11:18
    Hi fellows,

    while analysing some product catalogue capabilities from ecommerce vendors, I discovered the concept of "slug" ๐Ÿค”๐Ÿ˜
    definition and usage in API here
    Is there any benefit in using slug in TMF APIs and for TMF620 in particular?

    thanks for sharing your thoughts with the community!

    ------------------------------
    Kind regards,

    Matthieu Hattab
    Lyse Platform
    ------------------------------


  • 2.  RE: is slug a useful concept for TMF OpenAPIs

    Posted Oct 06, 2022 10:21
    Hi Matthieu,

    It's an interesting concept and thanks for your introduction, just some personal thoughts:
    1. `id` is still the common used unique identifier for most tech guys
    2. for concern about exposing the internal `id` out maybe just the implements direct exposing the internal id(its API designer needs to concern with the id meaning internal id or the API meaning for id, suppose API should be exposed API level meaningful id not internal used id, internal used can present by other keywords)
    3. `slug` may cause API impletments to get more complex

    ------------------------------
    Smark Meng
    OSSEra
    ------------------------------