Skip to content

Every analytics tool wants a subscription. And your data. I built Twiligent instead. YouTube stats. Instagram stats. One dashboard. Runs locally on your machine.

7.2 KB
Raw Blame
{
    "responses": [
        {
            "call": "PUT /tracked-content/nope",
            "status": 404,
            "body": "{\"success\":false,\"code\":\"NOT_FOUND\",\"message\":\"Tracked content not found\",\"requestId\":\"req-test\"}"
        },
        {
            "call": "PUT /tracked-content/t-theirs",
            "status": 404,
            "body": "{\"success\":false,\"code\":\"NOT_FOUND\",\"message\":\"Tracked content not found\",\"requestId\":\"req-test\"}"
        },
        {
            "call": "PUT /tracked-content/t-retired",
            "status": 404,
            "body": "{\"success\":false,\"code\":\"NOT_FOUND\",\"message\":\"Tracked content not found\",\"requestId\":\"req-test\"}"
        },
        {
            "call": "PUT /tracked-content/t-youtube",
            "status": 200,
            "body": "{\"id\":\"t-youtube\",\"url\":\"https://www.youtube.com/watch?v=abc\",\"label\":\"New\",\"category\":\"Cat\",\"contentType\":\"youtube\",\"createdAt\":\"2026-08-01T00:00:00Z\",\"updatedAt\":\"2026-09-01T12:00:00.000Z\",\"title\":\"Video\"}"
        },
        {
            "call": "PUT /tracked-content/t-short",
            "status": 200,
            "body": "{\"id\":\"t-short\",\"url\":\"https://www.youtube.com/shorts/def\",\"label\":\"\",\"category\":\"\",\"contentType\":\"youtube\",\"createdAt\":\"2026-08-01T00:00:00Z\",\"updatedAt\":\"2026-09-01T12:00:00.000Z\",\"title\":\"Short\",\"viewCount\":9}"
        },
        {
            "call": "PUT /tracked-content/t-short",
            "status": 200,
            "body": "{\"id\":\"t-short\",\"url\":\"https://www.youtube.com/shorts/def\",\"label\":\"\",\"category\":\"\",\"contentType\":\"youtube\",\"createdAt\":\"2026-08-01T00:00:00Z\",\"updatedAt\":\"2026-09-01T12:00:00.000Z\",\"title\":\"Short\",\"viewCount\":9}"
        }
    ],
    "queries": [
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "nope"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-theirs"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-retired"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-youtube"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "update",
            "table": "tracked_posts",
            "values": {
                "label": "New",
                "category": "Cat"
            },
            "filters": [
                [
                    "id",
                    "t-youtube"
                ],
                [
                    "user_id",
                    "user-1"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-youtube"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-short"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "update",
            "table": "tracked_posts",
            "values": {
                "category": ""
            },
            "filters": [
                [
                    "id",
                    "t-short"
                ],
                [
                    "user_id",
                    "user-1"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-short"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-short"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        },
        {
            "type": "select",
            "table": "tracked_posts",
            "columns": "id, url, label, category, content_type, created_at, updated_at, data",
            "filters": [
                [
                    "id",
                    "t-short"
                ],
                [
                    "user_id",
                    "user-1"
                ],
                [
                    "content_type",
                    "youtube"
                ]
            ]
        }
    ],
    "requests": [],
    "logLines": []
}