I use API Platform since a year now, and I have a problem to solve about external resource and I request opinion of the API Platform community to deal with it.
Example : A Comment API for Movies.

I think the usage of JSON-LD help us to deal with this kind of resources.
Instead having internal resources like : "/movies/1" we use the full url resources like "http://api.imdb.com/movies/1" or "http://api.allocine.fr/films/one". So we can use URL as URI for our POST/PUT/GET requests.
Thanks for your returns !
I think a string would be right. And it's not treated as a relation... What do you need to do with it?
Consider your url as a regular string like any textual value, not as a relation (as it's not one in your Doctrine schema).
@MLKiiwy Did you find the solution, did @vincentchalamon respond to your question ?
Hi! I'm looking for example for using external resources in our api. Where can I find some hints about this problem?
Most helpful comment
Consider your url as a regular string like any textual value, not as a relation (as it's not one in your Doctrine schema).