Skip to content

[Question] Child/Subresources URLs #983

@Plevoscoba

Description

@Plevoscoba

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions