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

Question :: GET /epcs/{epc} "Returns resource events"? #352

Open
sgpinkus opened this issue Nov 10, 2021 · 1 comment
Open

Question :: GET /epcs/{epc} "Returns resource events"? #352

sgpinkus opened this issue Nov 10, 2021 · 1 comment

Comments

@sgpinkus
Copy link
Contributor

sgpinkus commented Nov 10, 2021

Current EPCIS v2.0 PDF, Chapter 12, REST, Binding p275 states the the REST endpoint GET /epcs/{epc} "Returns resource events"? What does this mean?

Aside: intuition says that this should or plausible could return the EPC, any ILMD, and any current dispositions attached to it. But I don't think this is the intent. For one this would strongly imply the EPCIS repository event-sources a view of the current state of items associated with EPCs. The existence of GET /epcs suggests this too. But the is no (?) language in the spec about EPCIS repositories maintaining auxiliary databases to support queries (it would actually be helpful if that was at least discussed).

@jmcanterafonseca-iota
Copy link
Collaborator

jmcanterafonseca-iota commented May 30, 2022

it returns a reference to the events resource that allows you to query the events which subject is that EPC

 {
    "@context": "https://gs1.github.io/epcis/epcis-context.jsonld",
    "type": "Collection",
    "member": ["events"]
}

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

2 participants