Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ To use [Prisma Studio](https://www.prisma.io/studio), run `npm run studio`

### Albums

Data sourced from [**Turso**](https://turso.tech) for the **Album** resource type. Available at `/api/albums` locally and publicly as `/api/v2/albums`.
Data sourced from [**Turso**](https://turso.tech) for the **Album** resource type. Available at `/api/albums` locally and publicly as `/api/albums`.

_Options:_
- `?id=xxx` - Filter by the `id` of the album
Expand All @@ -60,14 +60,14 @@ _Options:_

### Artists

Data sourced from [**Turso**](https://turso.tech) for the **Artist** resource type. Available at `/api/artists` locally and publicly as `/api/v2/artists`.
Data sourced from [**Turso**](https://turso.tech) for the **Artist** resource type. Available at `/api/artists` locally and publicly as `/api/artists`.

_Options:_
- `?id=xxx` - Filter by the `id` of the artist

### Events

Structured events content sourced from [**Contentful**](https://contentful.com/) for the **Event** resource type. Available at `/api/events` locally and publicly as `/api/v2/events`.
Structured events content sourced from [**Contentful**](https://contentful.com/) for the **Event** resource type. Available at `/api/events` locally and publicly as `/api/events`.

_Options:_
- `?id=xxx` - Filter by the `id` of the event
Expand All @@ -77,7 +77,7 @@ _Options:_

### Posts

Data sourced from [**Turso**](https://turso.tech) for the **Post** resource type. Available at `/api/posts` locally and publicly as `/api/v2/posts`.
Data sourced from [**Turso**](https://turso.tech) for the **Post** resource type. Available at `/api/posts` locally and publicly as `/api/posts`.

_Options:_
- `?id=xxx` - Filter by the `id` of a post
Expand Down
2 changes: 1 addition & 1 deletion src/pages/api/webhook-contentful.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export async function handler (request: Request) {
Paths: {
Quantity: 1,
Items: [
`/api/v2/${entity}s*`
`/api/${entity}s*`
]
}
}
Expand Down