Core: [Question] Child/Subresources URLs

Created on 12 Mar 2017  路  1Comment  路  Source: api-platform/core

Hi.

I'm new to both REST APIs and API-Platform so I might be wrong here.

In the API-Platform demo application you have GET /books, GET /books/{bookID} and also GET /reviews, GET /reviews/{reviewID}but it somehow fells wrong isn't it?

I'm wondering if we can have URLs like GET /books/{bookID}/reviews like the ones you can generate using the parentconfiguration in the FOSRestBundle.

Many thanks in advance.

enhancement question

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings