{
  "opencollection": "1.0.0",
  "info": {
    "name": "OpenProject API V3 (Stable) Actions & Capabilities Favorites API",
    "version": "3"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Favorites",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Favorite Project",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://qa.openproject-edge.com/api/v3/projects/:id/favorite",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "Project id"
              }
            ]
          },
          "docs": "Adds the project to the current user's favorites.\n\nThis endpoint is deprecated and replaced by [`/api/v3/workspaces/{id}/favorite`](https://www.openproject.org/docs/api/endpoints/workspaces/#favorite-workspace)"
        },
        {
          "info": {
            "name": "Unfavorite Project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://qa.openproject-edge.com/api/v3/projects/:id/favorite",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "Project id"
              }
            ]
          },
          "docs": "Removes the project from the current user's favorites.\n\nThis endpoint is deprecated and replaced by [`/api/v3/workspaces/{id}/favorite`](https://www.openproject.org/docs/api/endpoints/workspaces/#unfavorite-workspace)"
        },
        {
          "info": {
            "name": "Favorite Workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://qa.openproject-edge.com/api/v3/workspaces/:id/favorite",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "Workspace id"
              }
            ]
          },
          "docs": "Adds the workspace to the current user's favorites."
        },
        {
          "info": {
            "name": "Unfavorite Workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://qa.openproject-edge.com/api/v3/workspaces/:id/favorite",
            "params": [
              {
                "name": "id",
                "value": "1",
                "type": "path",
                "description": "Workspace id"
              }
            ]
          },
          "docs": "Removes the workspace from the current user's favorites."
        }
      ]
    }
  ],
  "bundled": true
}