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

Merging collections and the /tpf endpoint #35

Closed
joepio opened this issue Oct 30, 2020 · 3 comments
Closed

Merging collections and the /tpf endpoint #35

joepio opened this issue Oct 30, 2020 · 3 comments

Comments

@joepio
Copy link
Member

joepio commented Oct 30, 2020

Collections and the /tpf endpoint have some similarities. Both allow for filtering all triples by property / value. However, collections are more powerful, as they also enable pagination and sorting.

The /tpf endpoint currently uses a lot of custom logic, which might not be needed anymore if we switch to using collections.

Also, the subject field in TPF is not really useful in Atomic data, except when you want to find an Atom by subject and value.

@joepio
Copy link
Member Author

joepio commented Nov 23, 2020

Perhaps use the standardized query params / Atomic Endpoints for this: atomicdata-dev/atomic-data-docs#15

@joepio
Copy link
Member Author

joepio commented Dec 7, 2020

Another important difference between TPF endpoints and Collections is that Collections return Subjects, while TPF queries typically return Atoms (triples).

@joepio
Copy link
Member Author

joepio commented Dec 26, 2020

Done!

@joepio joepio closed this as completed Dec 26, 2020
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