-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Expected behavior
Requesting data on /1.0/library/books should return a collection of books
Actual behavior
Requesting data on /1.0/library/books returns a 404 Not Found
Steps to reproduce the problem
Followed the tutorial here: https://docs.dadi.tech/api#creating-an-api. I am able to retrieve an authentication token but not any API data. Note that I am using all of the defaults from the creation wizard, except:
- http (80)
- filestore (json)
Also, GET /api/collections
{
"collections": [
{
"version": "vjoin",
"database": "testdb",
"name": "books",
"slug": "books",
"path": "/vjoin/testdb/books"
},
{
"version": "vjoin",
"database": "testdb",
"name": "users",
"slug": "users",
"path": "/vjoin/testdb/users"
},
{
"version": "vtest",
"database": "testdb",
"name": "test-schema",
"slug": "test-schema",
"path": "/vtest/testdb/test-schema"
}
],
"media": {
"buckets": [
"mediaStore"
],
"defaultBucket": "mediaStore"
}
}
Package details
Package version, operating system, etc
$ dadi api -v
2.1.4
$ node -v
v8.9.1
$ sw_vers -productVersion
10.13.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels