Comments (2)
Heya, when querying document collections that haven't been written to yet, you will get a 404
.
The default page size from the GET
is 1
, so that is why you are only seeing one result. You can increase this with the url parameter page-size=20
result.data.data
is expected, the request body has the data wrapped in a key called data
. You can remove this if desired with the url parameter raw =true
Have a nice day!
from astrajs.
Thank you Chris, the only tricky param was page-state
not really obvious one!
from astrajs.
Related Issues (13)
- Production error: Error: @astrajs/rest: baseUrl required
- No operation available for full or partial text search HOT 3
- Tests in restClient are using Documents API HOT 1
- How do we increment atomic values? HOT 1
- pageState property not available in response HOT 7
- Error handling in Document API HOT 1
- [feat]: Allow custom implemention of `fetch` or any other fetching library instead of `axios`
- DataStax Docs link broken for REST API Quickstart HOT 2
- Add TypeScript types HOT 2
- Document API does not work with Next.js API Routes HOT 4
- Created collections not reflecting in db HOT 4
- Delete always returns null-response HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astrajs.