Skip to content

OpenAPI - Get entity by id . meta local_identifier #66

@rduyme

Description

@rduyme

Suggestion Silvio @essepuntato

about the meta issue I've mentioned before, I was wandering why we do not adopt the same approach used for the "search" API query for defining the initial local_identifier in meta, thus specifying the URL of the API query executed instead of the IRI of the requested entity. In practice, in the example in https://skg-if.github.io/api/ now it is:

{
    "meta" : {
        "local_identifier": "https://w3id.org/skg-if/sandbox/acme/prod-1",
        "entity_type": "single_entity",
        "api_items": [ ... ]
    },

while I'm suggesting to use the same approach adopted with the "search" APIs, thus returning:

{
    "meta" : {
        "local_identifier": "https://acme.com/skg-if/api/products/https://w3id.org/skg-if/sandbox/acme/prod-1",
        "entity_type": "single_entity",
        "api_items": [ ... ]
    },

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions