2
1
0

Let's say for argument's sake, I hit this endpoint 'https://test1-api.rescuegroups.org/v5/public/animals/search/available/dogs/?limit=100&page=1'


I get the results and under relationships i'm interested in grabbing the image urls from these id numbers:


"pictures": {
                    "data": [
                        {
                            "type": "pictures",
                            "id": "8532912"
                        },
                        {
                            "type": "pictures",
                            "id": "8532913"
                        },
                        {
                            "type": "pictures",
                            "id": "7706350"
                        },
                        {
                            "type": "pictures",
                            "id": "7706351"
                        }
                    ]
                }

What endpoint do I need to hit to achieve this? I've tried all sorts of combinations like https://test1-api.rescuegroups.org/v5/public/animals/pictures/8532912. It doesn't work and the docs don't talk about pictures endpoints at all, only the schema. 

    CommentAdd your comment...