Microsoft Graph sites.contentType API

The sites.contentType API from Microsoft Graph — 26 operation(s) for sites.contenttype.

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

OpenAPI Specification

microsoft-graph-sites-contenttype-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Microsoft Graph Admin Admin.admin sites.contentType 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.contentType
  x-ms-docs-toc-type: page
paths:
  /sites/{site-id}/contentTypes:
    description: Provides operations to manage the contentTypes 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}')/contentTypes
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph List contentTypes in a site
      description: Get the collection of contentType resources in a site.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/site-list-contenttypes?view=graph-rest-1.0
      operationId: sites.ListContentTypes
      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.contentTypeCollectionResponse'
        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.contentType
      summary: Microsoft Graph Create a content type
      description: Create a new contentType in a site.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/site-post-contenttypes?view=graph-rest-1.0
      operationId: sites.CreateContentTypes
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.contentType'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.contentType'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/contentTypes/{contentType-id}:
    description: Provides operations to manage the contentTypes 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get contentType
      description: Retrieve the metadata for a content type in a site or a list.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/contenttype-get?view=graph-rest-1.0
      operationId: sites.GetContentTypes
      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.contentType'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - sites.contentType
      summary: Microsoft Graph Update contentType
      description: Update a content type.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/contenttype-update?view=graph-rest-1.0
      operationId: sites.UpdateContentTypes
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.contentType'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.contentType'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - sites.contentType
      summary: Microsoft Graph Delete contentType
      description: Remove a content type from a list or a site.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/contenttype-delete?view=graph-rest-1.0
      operationId: sites.DeleteContentTypes
      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}/contentTypes/{contentType-id}/base:
    description: Provides operations to manage the base property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/base
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get base from sites
      description: Parent contentType from which this content type is derived.
      operationId: sites.contentTypes.GetBase
      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.contentType'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/contentTypes/{contentType-id}/baseTypes:
    description: Provides operations to manage the baseTypes property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/baseTypes
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get baseTypes from sites
      description: The collection of content types that are ancestors of this content type.
      operationId: sites.contentTypes.ListBaseTypes
      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.contentTypeCollectionResponse'
        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}/contentTypes/{contentType-id}/baseTypes/{contentType-id1}:
    description: Provides operations to manage the baseTypes property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    - name: contentType-id1
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/baseTypes/{contentType-id1}
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get baseTypes from sites
      description: The collection of content types that are ancestors of this content type.
      operationId: sites.contentTypes.GetBaseTypes
      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.contentType'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/contentTypes/{contentType-id}/baseTypes/$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
    - name: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get the number of the resource
      operationId: sites.contentTypes.baseTypes.GetCount-6b07
      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}/contentTypes/{contentType-id}/columnLinks:
    description: Provides operations to manage the columnLinks property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/columnLinks
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get columnLinks from sites
      description: The collection of columns that are required by this content type.
      operationId: sites.contentTypes.ListColumnLinks
      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.columnLinkCollectionResponse'
        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.contentType
      summary: Microsoft Graph Create new navigation property to columnLinks for sites
      operationId: sites.contentTypes.CreateColumnLinks
      requestBody:
        description: New navigation property
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.columnLink'
        required: true
      responses:
        2XX:
          description: Created navigation property.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnLink'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
  /sites/{site-id}/contentTypes/{contentType-id}/columnLinks/{columnLink-id}:
    description: Provides operations to manage the columnLinks property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    - name: columnLink-id
      in: path
      description: The unique identifier of columnLink
      required: true
      schema:
        type: string
      x-ms-docs-key-type: columnLink
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/columnLinks/{columnLink-id}
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get columnLinks from sites
      description: The collection of columns that are required by this content type.
      operationId: sites.contentTypes.GetColumnLinks
      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.columnLink'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    patch:
      tags:
      - sites.contentType
      summary: Microsoft Graph Update the navigation property columnLinks in sites
      operationId: sites.contentTypes.UpdateColumnLinks
      requestBody:
        description: New navigation property values
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsoft.graph.columnLink'
        required: true
      responses:
        2XX:
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsoft.graph.columnLink'
        4XX:
          $ref: '#/components/responses/error'
        5XX:
          $ref: '#/components/responses/error'
      x-ms-docs-operation-type: operation
    delete:
      tags:
      - sites.contentType
      summary: Microsoft Graph Delete navigation property columnLinks for sites
      operationId: sites.contentTypes.DeleteColumnLinks
      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}/contentTypes/{contentType-id}/columnLinks/$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
    - name: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get the number of the resource
      operationId: sites.contentTypes.columnLinks.GetCount-7bc1
      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}/contentTypes/{contentType-id}/columnPositions:
    description: Provides operations to manage the columnPositions property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/columnPositions
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get columnPositions from sites
      description: Column order information in a content type.
      operationId: sites.contentTypes.ListColumnPositions
      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}/contentTypes/{contentType-id}/columnPositions/{columnDefinition-id}:
    description: Provides operations to manage the columnPositions property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    - 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}/lists/{list-id}/contentTypes/{contentType-id}/columnPositions/{columnDefinition-id}
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get columnPositions from sites
      description: Column order information in a content type.
      operationId: sites.contentTypes.GetColumnPositions
      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}/contentTypes/{contentType-id}/columnPositions/$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
    - name: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get the number of the resource
      operationId: sites.contentTypes.columnPositions.GetCount-dea9
      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}/contentTypes/{contentType-id}/columns:
    description: Provides operations to manage the columns property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    x-ms-docs-grouped-path:
    - /sites/{site-id}/lists/{list-id}/contentTypes/{contentType-id}/columns
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph List columnDefinitions in a content type
      description: Get the collection of columns represented as columnDefinition resources in a content type.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/contenttype-list-columns?view=graph-rest-1.0
      operationId: sites.contentTypes.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.contentType
      summary: Microsoft Graph Create a columnDefinition in a content type
      description: Add a column to a content type in a site, or a list with a request that specifies a columnDefinition.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/contenttype-post-columns?view=graph-rest-1.0
      operationId: sites.contentTypes.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}/contentTypes/{contentType-id}/columns/{columnDefinition-id}:
    description: Provides operations to manage the columns property of the microsoft.graph.contentType 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: contentType-id
      in: path
      description: The unique identifier of contentType
      required: true
      schema:
        type: string
      x-ms-docs-key-type: contentType
    - 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}/lists/{list-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}
    get:
      tags:
      - sites.contentType
      summary: Microsoft Graph Get columnDefinition
      description: Retrieve the metadata for a site, a list, or a contentType column.
      externalDocs:
        description: Find more info here
        url: https://learn.microsoft.com/graph/api/columndefinition-get?view=graph-rest-1.0
      operationId: sites.contentTypes.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: '#/compo

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