{
  "info": {
    "_postman_id": "b3aeed7f-4ae0-4fee-b3b9-e5baf84ba4f7",
    "name": "Windmill admin favorite API",
    "description": "Contact Support:\n Name: Windmill Team\n Email: contact@windmill.dev",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T03:30:33.000Z",
    "updatedAt": "2026-07-28T03:30:34.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-b3aeed7f-4ae0-4fee-b3b9-e5baf84ba4f7"
  },
  "item": [
    {
      "name": "w",
      "item": [
        {
          "name": "{workspace}",
          "item": [
            {
              "name": "favorites",
              "item": [
                {
                  "name": "star",
                  "item": [
                    {
                      "name": "Star Item",
                      "id": "929648f4-fec7-40c8-9fa7-53b1015cc4f1",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"path\": \"<string>\",\n  \"favorite_kind\": \"script\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/w/:workspace/favorites/star",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "w",
                            ":workspace",
                            "favorites",
                            "star"
                          ],
                          "variable": [
                            {
                              "id": "89757cc6-fa62-41a4-9ec8-ab556fbcb048",
                              "key": "workspace",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "b5e585f4-ef43-4c9c-badb-8c1e202cc4d2",
                          "name": "star item",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"path\": \"<string>\",\n  \"favorite_kind\": \"script\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/w/:workspace/favorites/star",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "w",
                                ":workspace",
                                "favorites",
                                "star"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:30:34.000Z",
                          "updatedAt": "2026-07-28T03:30:34.000Z",
                          "uid": "35240-b5e585f4-ef43-4c9c-badb-8c1e202cc4d2"
                        }
                      ],
                      "createdAt": "2026-07-28T03:30:34.000Z",
                      "updatedAt": "2026-07-28T03:30:34.000Z",
                      "uid": "35240-929648f4-fec7-40c8-9fa7-53b1015cc4f1"
                    }
                  ],
                  "id": "1b390a3c-4087-4ba1-8f11-f077134a749c",
                  "createdAt": "2026-07-28T03:30:34.000Z",
                  "updatedAt": "2026-07-28T03:30:34.000Z",
                  "uid": "35240-1b390a3c-4087-4ba1-8f11-f077134a749c"
                },
                {
                  "name": "unstar",
                  "item": [
                    {
                      "name": "Unstar Item",
                      "id": "43968686-0dc3-4921-8a50-0340a76ba960",
                      "protocolProfileBehavior": {
                        "disableBodyPruning": true
                      },
                      "request": {
                        "method": "POST",
                        "header": [
                          {
                            "key": "Content-Type",
                            "value": "application/json"
                          }
                        ],
                        "body": {
                          "mode": "raw",
                          "raw": "{\n  \"path\": \"<string>\",\n  \"favorite_kind\": \"script\"\n}",
                          "options": {
                            "raw": {
                              "headerFamily": "json",
                              "language": "json"
                            }
                          }
                        },
                        "url": {
                          "raw": "{{baseUrl}}/w/:workspace/favorites/unstar",
                          "host": [
                            "{{baseUrl}}"
                          ],
                          "path": [
                            "w",
                            ":workspace",
                            "favorites",
                            "unstar"
                          ],
                          "variable": [
                            {
                              "id": "6da06b09-24d8-441c-9ee5-23ec6c5fabf5",
                              "key": "workspace",
                              "value": "<string>",
                              "description": "(Required) "
                            }
                          ]
                        }
                      },
                      "response": [
                        {
                          "id": "29eb45ab-a284-4e2e-abba-95f6b85c1085",
                          "name": "unstar item",
                          "originalRequest": {
                            "method": "POST",
                            "header": [
                              {
                                "key": "Content-Type",
                                "value": "application/json"
                              },
                              {
                                "description": "Added as a part of security scheme: bearer",
                                "key": "Authorization",
                                "value": "Bearer <token>"
                              }
                            ],
                            "body": {
                              "mode": "raw",
                              "raw": "{\n  \"path\": \"<string>\",\n  \"favorite_kind\": \"script\"\n}",
                              "options": {
                                "raw": {
                                  "headerFamily": "json",
                                  "language": "json"
                                }
                              }
                            },
                            "url": {
                              "raw": "{{baseUrl}}/w/:workspace/favorites/unstar",
                              "host": [
                                "{{baseUrl}}"
                              ],
                              "path": [
                                "w",
                                ":workspace",
                                "favorites",
                                "unstar"
                              ],
                              "variable": [
                                {
                                  "key": "workspace"
                                }
                              ]
                            }
                          },
                          "status": "OK",
                          "code": 200,
                          "_postman_previewlanguage": "text",
                          "header": [],
                          "cookie": [],
                          "responseTime": null,
                          "body": null,
                          "createdAt": "2026-07-28T03:30:34.000Z",
                          "updatedAt": "2026-07-28T03:30:34.000Z",
                          "uid": "35240-29eb45ab-a284-4e2e-abba-95f6b85c1085"
                        }
                      ],
                      "createdAt": "2026-07-28T03:30:34.000Z",
                      "updatedAt": "2026-07-28T03:30:34.000Z",
                      "uid": "35240-43968686-0dc3-4921-8a50-0340a76ba960"
                    }
                  ],
                  "id": "44dfc9aa-19a6-4d1e-9b23-fc89cb701123",
                  "createdAt": "2026-07-28T03:30:34.000Z",
                  "updatedAt": "2026-07-28T03:30:34.000Z",
                  "uid": "35240-44dfc9aa-19a6-4d1e-9b23-fc89cb701123"
                }
              ],
              "id": "ae5f7cd1-8f1e-49af-bff3-544484284025",
              "createdAt": "2026-07-28T03:30:34.000Z",
              "updatedAt": "2026-07-28T03:30:34.000Z",
              "uid": "35240-ae5f7cd1-8f1e-49af-bff3-544484284025"
            }
          ],
          "id": "67756e54-0458-4b9b-a5cd-f06f456cd0ad",
          "createdAt": "2026-07-28T03:30:34.000Z",
          "updatedAt": "2026-07-28T03:30:34.000Z",
          "uid": "35240-67756e54-0458-4b9b-a5cd-f06f456cd0ad"
        }
      ],
      "id": "f24e9c80-0171-4754-8e0f-93990d8fd6f6",
      "createdAt": "2026-07-28T03:30:34.000Z",
      "updatedAt": "2026-07-28T03:30:34.000Z",
      "uid": "35240-f24e9c80-0171-4754-8e0f-93990d8fd6f6"
    }
  ],
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{bearerToken}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "/api"
    }
  ]
}