{
  "name": "microsoftsharepoint",
  "display_name": "Microsoft SharePoint",
  "description": "Interact with Microsoft SharePoint API",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "microsoftSharePointOAuth2Api",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "file"
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Microsoft/SharePoint/MicrosoftSharePoint.node.ts",
  "routing": {
    "base_url": "=https://{{ $credentials.subdomain }}.sharepoint.com/_api/v2.0/",
    "auth_headers": [],
    "auth_query": [],
    "credential_name": "microsoftSharePointOAuth2Api",
    "operations": [
      {
        "value": "download",
        "method": "GET",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "update",
        "method": "PATCH",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "upload",
        "method": "PUT",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "get",
        "method": "GET",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "getAll",
        "method": "GET",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "create",
        "method": "POST",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "upsert",
        "method": "POST",
        "url": "/sites/{{ $parameter[",
        "body": ""
      },
      {
        "value": "delete",
        "method": "DELETE",
        "url": "/sites/{{ $parameter[",
        "body": ""
      }
    ],
    "sends": [
      {
        "param_name": "fileName",
        "send_type": "body",
        "dest_key": "name",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "simplify",
        "send_type": "query",
        "dest_key": "$select",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "limit",
        "send_type": "query",
        "dest_key": "$top",
        "applies_to_operations": [],
        "applies_to_resources": []
      },
      {
        "param_name": "filter",
        "send_type": "query",
        "dest_key": "$filter",
        "applies_to_operations": [],
        "applies_to_resources": []
      }
    ]
  }
}