{
  "opencollection": "1.0.0",
  "info": {
    "name": "Microsoft Planner Microsoft Graph Planner Buckets API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
      "accessTokenUrl": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Buckets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Microsoft Planner List Plan Buckets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/planner/plans/:plan-id/buckets",
            "params": [
              {
                "name": "plan-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the plannerPlan (28 characters, case-sensitive)"
              }
            ]
          },
          "docs": "Retrieve a list of plannerBucket objects contained in a plannerPlan object."
        },
        {
          "info": {
            "name": "Microsoft Planner Create a Bucket",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://graph.microsoft.com/v1.0/planner/buckets",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new plannerBucket object. The bucket must specify a planId indicating which plan it belongs to."
        },
        {
          "info": {
            "name": "Microsoft Planner Get a Bucket",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/planner/buckets/:bucket-id",
            "params": [
              {
                "name": "bucket-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the plannerBucket (28 characters, case-sensitive)"
              }
            ]
          },
          "docs": "Retrieve the properties and relationships of a plannerBucket object."
        },
        {
          "info": {
            "name": "Microsoft Planner Update a Bucket",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://graph.microsoft.com/v1.0/planner/buckets/:bucket-id",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "bucket-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the plannerBucket (28 characters, case-sensitive)"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update the properties of a plannerBucket object. Requires the If-Match header with the last known ETag value of the bucket."
        },
        {
          "info": {
            "name": "Microsoft Planner Delete a Bucket",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://graph.microsoft.com/v1.0/planner/buckets/:bucket-id",
            "headers": [
              {
                "name": "If-Match",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "bucket-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the plannerBucket (28 characters, case-sensitive)"
              }
            ]
          },
          "docs": "Delete a plannerBucket object. Requires the If-Match header with the last known ETag value of the bucket."
        },
        {
          "info": {
            "name": "Microsoft Planner List Bucket Tasks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://graph.microsoft.com/v1.0/planner/buckets/:bucket-id/tasks",
            "params": [
              {
                "name": "bucket-id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the plannerBucket (28 characters, case-sensitive)"
              }
            ]
          },
          "docs": "Retrieve a list of plannerTask objects associated with a plannerBucket object."
        }
      ]
    }
  ],
  "bundled": true
}