Last active
August 29, 2015 14:07
-
-
Save erwan/e3f35b01edbd553ca60a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Api api = Api.get("https://lesbonneschoses.prismic.io/api"); | |
// The response object contains all documents of type "product", paginated | |
Response response = api.getForm("everything") | |
.ref(api.getMaster()) | |
.query(Predicates.at("document.type", "product")) | |
.submit(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment