Microsoft Graph sites.columnDefinition API

The sites.columnDefinition API from Microsoft Graph — 9 operation(s) for sites.columndefinition.

Operations 13

GET /sites/{site-id}/externalColumns Microsoft Graph Get externalColumns from sites #
GET /sites/{site-id}/externalColumns/{columnDefinition-id} Microsoft Graph Get externalColumns from sites #
GET /sites/{site-id}/externalColumns/$count Microsoft Graph Get the number of the resource #
GET /sites/{site-id}/getByPath(path='{path}')/externalColumns Microsoft Graph Get externalColumns from sites #
GET /sites/{site-id}/columns Microsoft Graph List columns in a site #
POST /sites/{site-id}/columns Microsoft Graph Create a columnDefinition in a site #
GET /sites/{site-id}/columns/{columnDefinition-id} Microsoft Graph Get columns from sites #
PATCH /sites/{site-id}/columns/{columnDefinition-id} Microsoft Graph Update the navigation property columns in sites #
DELETE /sites/{site-id}/columns/{columnDefinition-id} Microsoft Graph Delete navigation property columns for sites #
GET /sites/{site-id}/columns/{columnDefinition-id}/sourceColumn Microsoft Graph Get sourceColumn from sites #
GET /sites/{site-id}/columns/$count Microsoft Graph Get the number of the resource #
GET /sites/{site-id}/getByPath(path='{path}')/columns Microsoft Graph Get columns from sites #
POST /sites/{site-id}/getByPath(path='{path}')/columns Microsoft Graph Create new navigation property to columns for sites #

Documentation

📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/admin?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreementacceptance?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/agreement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/application?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/applicationtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/azure-ad-auditlog-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/authenticationmethodspolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/certificatebasedauthconfiguration?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/chat?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/communications-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/complianceapioverview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-externalconnection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contact?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/contract?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/copilot-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/datapolicyoperation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-apps-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/intune-device-conceptual?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/device?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/directory?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domaindnsrecord?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/domain?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/drive?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/education-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/employee-experience-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/externalconnectors-external?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/filter-query-parameter
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/excel?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/grouplifecyclepolicy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsetting?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/groupsettingtemplate?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/identitycontainer?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/informationprotection?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/invitation?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/users?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/oauth2permissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/organization?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/resourcespecificpermissiongrant?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/place?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/planner-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/policy-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/print?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/privacy?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/report?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/rolemanagement?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/schemaextension?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/scopedrolemembership?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/security-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/serviceprincipal?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/shares?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/solutions-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/filestorage?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscribedsku?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/teamwork?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/tenantrelationship?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/auth/auth-concepts
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/workplace?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/overview?view=graph-rest-1.0
📖
Documentation
https://learn.microsoft.com/en-us/graph/api/resources/sitepage?view=graph-rest-1.0

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-graph-sites-columndefinition-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-graph-sites-columndefinition-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Graph Admin Admin.admin Sites.column Definition API
  description: 'Microsoft Graph API for managing administrative resources in Microsoft Entra ID.

    This API enables administrators to manage Microsoft Edge browser settings, Internet Explorer mode configurations,

    site lists, shared browser sites, Microsoft 365 Apps installation options, people insights, service announcements,

    SharePoint settings, Copilot administration, directory administrative units, and admin consent policies.'
  version: 1.0.0
  contact:
    name: Microsoft Graph API Support
    url: https://developer.microsoft.com/graph
servers:
- url: https://graph.microsoft.com/v1.0
  description: Microsoft Graph API v1.0 endpoint
tags:
- name: sites.columnDefinition
paths:
  /sites/{site-id}/externalColumns:
    description: Provides operations to manage the externalColumns property of the microsoft.graph.site entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    x-ms-docs-grouped-path:
    - /sites/{site-id}/getByPath(path='{path}')/externalColumns
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get externalColumns from sites
      operationId: sites.ListExternalColumns
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.columnDefinitionCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
  /sites/{site-id}/externalColumns/{columnDefinition-id}:
    description: Provides operations to manage the externalColumns property of the microsoft.graph.site entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    - name: columnDefinition-id
      in: path
      description: The unique identifier of columnDefinition
      required: true
      schema:
        type: string
      x-ms-docs-key-type: columnDefinition
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get externalColumns from sites
      operationId: sites.GetExternalColumns
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/externalColumns/$count:
    description: Provides operations to count the resources in the collection.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get the number of the resource
      operationId: sites.externalColumns.GetCount-3855
      parameters:
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /sites/{site-id}/getByPath(path='{path}')/externalColumns:
    description: Provides operations to manage the externalColumns property of the microsoft.graph.site entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    - name: path
      in: path
      description: 'Usage: path=''{path}'''
      required: true
      schema:
        type: string
        nullable: true
    x-ms-docs-grouped-path:
    - /sites/{site-id}/externalColumns
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get externalColumns from sites
      operationId: sites.getByPath.ListExternalColumns
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.columnDefinitionCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
  /sites/{site-id}/columns:
    description: Provides operations to manage the columns property of the microsoft.graph.site entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    x-ms-docs-grouped-path:
    - /sites/{site-id}/getByPath(path='{path}')/columns
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph List columns in a site
      description: Get the collection of columns represented as columnDefinition resources in a site.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/site-list-columns?view=graph-rest-1.0
      operationId: sites.ListColumns
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.columnDefinitionCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Create a columnDefinition in a site
      description: Create a column for a site with a request that specifies a columnDefinition.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/site-post-columns?view=graph-rest-1.0
      operationId: sites.CreateColumns
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/columns/{columnDefinition-id}:
    description: Provides operations to manage the columns property of the microsoft.graph.site entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    - name: columnDefinition-id
      in: path
      description: The unique identifier of columnDefinition
      required: true
      schema:
        type: string
      x-ms-docs-key-type: columnDefinition
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get columns from sites
      description: The collection of column definitions reusable across lists under this site.
      operationId: sites.GetColumns
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Update the navigation property columns in sites
      operationId: sites.UpdateColumns
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Delete navigation property columns for sites
      operationId: sites.DeleteColumns
      parameters:
      - name: If-Match
        in: header
        description: ETag
        schema:
          type: string
      responses:
        '204':
          description: Success
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/columns/{columnDefinition-id}/sourceColumn:
    description: Provides operations to manage the sourceColumn property of the microsoft.graph.columnDefinition entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    - name: columnDefinition-id
      in: path
      description: The unique identifier of columnDefinition
      required: true
      schema:
        type: string
      x-ms-docs-key-type: columnDefinition
    x-ms-docs-grouped-path:
    - /sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}/sourceColumn
    - /sites/{site-id}/lists/{list-id}/columns/{columnDefinition-id}/sourceColumn
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}/sourceColumn
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get sourceColumn from sites
      description: The source column for the content type column.
      operationId: sites.columns.GetSourceColumn
      parameters:
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          description: Retrieved navigation property
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/columns/$count:
    description: Provides operations to count the resources in the collection.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get the number of the resource
      operationId: sites.columns.GetCount-a8bb
      parameters:
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      responses:
        2XX:
          $ref: '#/components/responses/ODataCountResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
  /sites/{site-id}/getByPath(path='{path}')/columns:
    description: Provides operations to manage the columns property of the microsoft.graph.site entity.
    parameters:
    - name: site-id
      in: path
      description: The unique identifier of site
      required: true
      schema:
        type: string
      x-ms-docs-key-type: site
    - name: path
      in: path
      description: 'Usage: path=''{path}'''
      required: true
      schema:
        type: string
        nullable: true
    x-ms-docs-grouped-path:
    - /sites/{site-id}/columns
    get:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Get columns from sites
      description: The collection of column definitions reusable across lists under this site.
      operationId: sites.getByPath.ListColumns
      parameters:
      - $ref: '#/components/parameters/top'
      - $ref: '#/components/parameters/skip'
      - $ref: '#/components/parameters/search'
      - $ref: '#/components/parameters/filter'
      - $ref: '#/components/parameters/count'
      - name: $orderby
        in: query
        description: Order items by property values
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $select
        in: query
        description: Select properties to be returned
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      - name: $expand
        in: query
        description: Expand related entities
        style: form
        explode: false
        schema:
          uniqueItems: true
          type: array
          items:
            type: string
      responses:
        2XX:
          $ref: '#/components/responses/microsoft.graph.columnDefinitionCollectionResponse'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-pageable:
        nextLinkName: '@odata.nextLink'
        operationName: listMore
      x-ms-docs-operation-type: operation
    post:
      tags:
      - sites.columnDefinition
      summary: Microsoft Graph Create new navigation property to columns for sites
      operationId: sites.getByPath.CreateColumns
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnDefinition'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
components:
  schemas:
    ODataCountResponse:
      type: integer
      format: int32
    microsoft.graph.ODataErrors.ErrorDetails:
      required:
      - code
      - message
      type: object
      properties:
        code:
          type: string
        message:
          type: string
        target:
          type: string
          nullable: true
    microsoft.graph.contentApprovalStatusColumn:
      title: contentApprovalStatusColumn
      required:
      - '@odata.type'
      type: object
      properties:
        '@odata.type':
          type: string
    microsoft.graph.termStore.group:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: group
        required:
        - '@odata.type'
        type: object
        properties:
          createdDateTime:
            pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$
            type: string
            description: Date and time of the group creation. Read-only.
            format: date-time
            nullable: true
          description:
            type: string
            description: Description that gives details on the term usage.
            nullable: true
          displayName:
            type: string
            description: Name of the group.
            nullable: true
          parentSiteId:
            type: string
            description: ID of the parent site of this group.
            nullable: true
          scope:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.termStore.termGroupScope'
            - type: object
              nullable: true
            description: 'Returns the type of the group. The possible values are: global, system, and siteCollection.'
          sets:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.set'
            description: All sets under the group in a term [store].
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.termStore.group'
    microsoft.graph.termStore.localizedDescription:
      title: localizedDescription
      required:
      - '@odata.type'
      type: object
      properties:
        description:
          type: string
          description: The description in the localized language.
          nullable: true
        languageTag:
          type: string
          description: The language tag for the label.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.personOrGroupColumn:
      title: personOrGroupColumn
      required:
      - '@odata.type'
      type: object
      properties:
        allowMultipleSelection:
          type: boolean
          description: Indicates whether multiple values can be selected from the source.
          nullable: true
        chooseFromType:
          type: string
          description: Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly.
          nullable: true
        displayAs:
          type: string
          description: How to display the information about the person or group chosen. See below.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.termStore.relationType:
      title: relationType
      enum:
      - pin
      - reuse
      - unknownFutureValue
      type: string
    microsoft.graph.lookupColumn:
      title: lookupColumn
      required:
      - '@odata.type'
      type: object
      properties:
        allowMultipleValues:
          type: boolean
          description: Indicates whether multiple values can be selected from the source.
          nullable: true
        allowUnlimitedLength:
          type: boolean
          description: Indicates whether values in the column should be able to exceed the standard limit of 255 characters.
          nullable: true
        columnName:
          type: string
          description: The name of the lookup source column.
          nullable: true
        listId:
          type: string
          description: The unique identifier of the lookup source list.
          nullable: true
        primaryLookupColumnId:
          type: string
          description: If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.defaultColumnValue:
      title: defaultColumnValue
      required:
      - '@odata.type'
      type: object
      properties:
        formula:
          type: string
          description: The formula used to compute the default value for the column.
          nullable: true
        value:
          type: string
          description: The direct value to use as the default value for the column.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.termStore.term:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: term
        required:
        - '@odata.type'
        type: object
        properties:
          createdDateTime:
            pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$
            type: string
            description: Date and time of term creation. Read-only.
            format: date-time
            nullable: true
          descriptions:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.localizedDescription'
            description: Description about term that is dependent on the languageTag.
          labels:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.localizedLabel'
            description: Label metadata for a term.
          lastModifiedDateTime:
            pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$
            type: string
            description: Last date and time of term modification. Read-only.
            format: date-time
            nullable: true
          properties:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.keyValue'
            description: Collection of properties on the term.
          children:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.term'
            description: Children of current term.
            x-ms-navigationProperty: true
          relations:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.relation'
            description: To indicate which terms are related to the current term as either pinned or reused.
            x-ms-navigationProperty: true
          set:
            anyOf:
            - $ref: '#/components/schemas/microsoft.graph.termStore.set'
            - type: object
              nullable: true
            description: The [set] in which the term is created.
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.termStore.term'
    microsoft.graph.hyperlinkOrPictureColumn:
      title: hyperlinkOrPictureColumn
      required:
      - '@odata.type'
      type: object
      properties:
        isPicture:
          type: boolean
          description: Specifies whether the display format used for URL columns is an image or a hyperlink.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.displayNameLocalization:
      title: displayNameLocalization
      required:
      - '@odata.type'
      type: object
      properties:
        displayName:
          type: string
          description: If present, the value of this field contains the displayName string that has been set for the language present in the languageTag field.
          nullable: true
        languageTag:
          type: string
          description: Provides the language culture-code and friendly name of the language that the displayName field has been provided in.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.geolocationColumn:
      title: geolocationColumn
      required:
      - '@odata.type'
      type: object
      properties:
        '@odata.type':
          type: string
    microsoft.graph.ODataErrors.InnerError:
      title: InnerError
      required:
      - '@odata.type'
      type: object
      properties:
        request-id:
          type: string
          description: Request Id as tracked internally by the service
          nullable: true
        client-request-id:
          type: string
          description: Client request Id as sent by the client application.
          nullable: true
        date:
          pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$
          type: string
          description: Date when the error occured.
          format: date-time
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.termStore.termGroupScope:
      title: termGroupScope
      enum:
      - global
      - system
      - siteCollection
      - unknownFutureValue
      type: string
    microsoft.graph.thumbnailColumn:
      title: thumbnailColumn
      required:
      - '@odata.type'
      type: object
      properties:
        '@odata.type':
          type: string
    microsoft.graph.termStore.set:
      allOf:
      - $ref: '#/components/schemas/microsoft.graph.entity'
      - title: set
        required:
        - '@odata.type'
        type: object
        properties:
          createdDateTime:
            pattern: ^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$
            type: string
            description: Date and time of set creation. Read-only.
            format: date-time
            nullable: true
          description:
            type: string
            description: Description that gives details on the term usage.
            nullable: true
          localizedNames:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.localizedName'
            description: Name of the set for each languageTag.
          properties:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.keyValue'
            description: Custom properties for the set.
          children:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.term'
            description: Children terms of set in term [store].
            x-ms-navigationProperty: true
          parentGroup:
            $ref: '#/components/schemas/microsoft.graph.termStore.group'
          relations:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.relation'
            description: Indicates which terms have been pinned or reused directly under the set.
            x-ms-navigationProperty: true
          terms:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.termStore.term'
            description: All the terms under the set.
            x-ms-navigationProperty: true
          '@odata.type':
            type: string
      x-ms-discriminator-value: '#microsoft.graph.termStore.set'
    microsoft.graph.columnValidation:
      title: columnValidation
      required:
      - '@odata.type'
      type: object
      properties:
        defaultLanguage:
          type: string
          description: Default BCP 47 language tag for the description.
          nullable: true
        descriptions:
          type: array
          items:
            $ref: '#/components/schemas/microsoft.graph.displayNameLocalization'
          description: Localized messages that explain what is needed for this column's value to be considered valid. User will be prompted with this message if validation fails.
        formula:
          type: string
          description: The formula to validate column value. For examples, see Examples of common formulas in lists.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.currencyColumn:
      title: currencyColumn
      required:
      - '@odata.type'
      type: object
      properties:
        locale:
          type: string
          description: Specifies the locale from which to infer the currency symbol.
          nullable: true
        '@odata.type':
          type: string
    microsoft.graph.columnDefinitionCollectionResponse:
      title: Collection of columnDefinition
      type: object
      allOf:
      - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse'
      - type: object
        properties:
          value:
            type: array
            items:
              $ref: '#/components/schemas/microsoft.graph.columnDefinition'
    microso

# --- truncated at 32 KB (171 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/microsoft-graph/refs/heads/main/openapi/microsoft-graph-sites-columndefinition-api-openapi.yml