Discover playlists response

Back to Discover playlists

Schema

{
    "type": "object",
    "properties": {
        "items": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "metric": {
                        "type": "string",
                        "nullable": false
                    },
                    "platform": {
                        "type": "string",
                        "nullable": false
                    },
                    "value": {
                        "type": "integer",
                        "nullable": false
                    },
                    "growthPercent": {
                        "type": "number",
                        "nullable": false
                    },
                    "playlist": {
                        "type": "object",
                        "properties": {
                            "playlistId": {
                                "type": "string",
                                "nullable": false
                            },
                            "name": {
                                "type": "string",
                                "nullable": false
                            },
                            "platform": {
                                "type": "string",
                                "nullable": false
                            },
                            "countryCode": {
                                "type": "string",
                                "nullable": false
                            },
                            "countryName": {
                                "type": "string",
                                "nullable": false
                            },
                            "imageUrl": {
                                "type": "string",
                                "nullable": false
                            },
                            "webUrl": {
                                "type": "string",
                                "nullable": false
                            }
                        },
                        "required": [
                            "playlistId",
                            "name",
                            "platform",
                            "countryCode",
                            "countryName"
                        ]
                    }
                },
                "required": [
                    "platform",
                    "value"
                ]
            }
        },
        "page": {
            "type": "object",
            "properties": {
                "offset": {
                    "type": "integer",
                    "nullable": false
                },
                "limit": {
                    "type": "integer",
                    "nullable": false
                },
                "total": {
                    "type": "integer",
                    "nullable": false
                },
                "nextCursor": {
                    "type": "string",
                    "nullable": false
                },
                "hasMore": {
                    "type": "boolean",
                    "nullable": false
                }
            },
            "required": [
                "offset",
                "limit",
                "nextCursor"
            ]
        },
        "error": {
            "type": "string"
        }
    }
}