Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when an Entity does not incorporate @context then it shall be assigned the default @context #18

Closed
jmcanterafonseca opened this issue Nov 21, 2018 · 2 comments

Comments

@jmcanterafonseca
Copy link

and not the core NGSI-LD @context

https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/blob/master/defaultContext/defaultContext.jsonld

@jmcanterafonseca
Copy link
Author

I create an Entity as follows:

POST /ngsi-ld/v1/entities/
{
"id": "urn:ngsi-ld:Vehicle:V233",
"type": "Vehicle"
}

then GET

/ngsi-ld/v1/entities/urn:ngsi-ld:Vehicle:V233

results in

{
    "id": "urn:ngsi-ld:Vehicle:V233",
    "type": "Vehicle",
    "@context": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/coreContext/ngsi-ld-core-context.json"
}

@jmcanterafonseca
Copy link
Author

now the default @context is assigned but issue #23 still remains

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant