Skip to content

Rename resource attribute id  #362

@hhware

Description

@hhware

The application behind the API may be implemented using object attribute naming conventions and other considerations which may be in conflict with conventions of JSON API. Specific example can be found in #361, so I am not repeating it here.

If no solution to the general problem described in #361 can be attained for one reason or another, I would like to propose to at least change the name of the mandatory API resource attribute id to something else. The best candidate I can think of is identifier. It does not seem to compromise on anything: one word, no artificial prefixes, the meaning is exactly what is expected. I believe that 2 vs 10 characters is not a crucial argument for a format designed primarily for machines.

Less suitable options I can think of are key and handle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy