Microsoft Graph · Capability

Microsoft Graph Sites — sites.contentType

Microsoft Graph Sites — sites.contentType. 36 operations. Lead operation: Microsoft Graph List contentTypes in a site. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphsites.contentType

What You Can Do

GET
Siteslistcontenttypes — Microsoft Graph List contentTypes in a site
/v1/sites/{site-id}/contenttypes
POST
Sitescreatecontenttypes — Microsoft Graph Create a content type
/v1/sites/{site-id}/contenttypes
GET
Sitescontenttypesgetcount50aa — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/contenttypes/count
POST
Sitessitecontenttypesaddcopy — Microsoft Graph Invoke action addCopy
/v1/sites/{site-id}/contenttypes/addcopy
POST
Sitessitecontenttypesaddcopyfromcontenttypehub — Microsoft Graph Invoke action addCopyFromContentTypeHub
/v1/sites/{site-id}/contenttypes/addcopyfromcontenttypehub
GET
Sitessitecontenttypesgetcompatiblehubcontenttypes — Microsoft Graph Invoke function getCompatibleHubContentTypes
/v1/sites/{site-id}/contenttypes/getcompatiblehubcontenttypes
GET
Sitesgetcontenttypes — Microsoft Graph Get contentType
/v1/sites/{site-id}/contenttypes/{contenttype-id}
PATCH
Sitesupdatecontenttypes — Microsoft Graph Update contentType
/v1/sites/{site-id}/contenttypes/{contenttype-id}
DELETE
Sitesdeletecontenttypes — Microsoft Graph Delete contentType
/v1/sites/{site-id}/contenttypes/{contenttype-id}
POST
Sitessitecontenttypescontenttypeassociatewithhubsites — Microsoft Graph Invoke action associateWithHubSites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/associatewithhubsites
GET
Sitescontenttypesgetbase — Microsoft Graph Get base from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/base
GET
Sitescontenttypeslistbasetypes — Microsoft Graph Get baseTypes from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/basetypes
GET
Sitescontenttypesbasetypesgetcount6b07 — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/contenttypes/{contenttype-id}/basetypes/count
GET
Sitescontenttypesgetbasetypes — Microsoft Graph Get baseTypes from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/basetypes/{contenttype-id1}
GET
Sitescontenttypeslistcolumnlinks — Microsoft Graph Get columnLinks from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks
POST
Sitescontenttypescreatecolumnlinks — Microsoft Graph Create new navigation property to columnLinks for sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks
GET
Sitescontenttypescolumnlinksgetcount7bc1 — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks/count
GET
Sitescontenttypesgetcolumnlinks — Microsoft Graph Get columnLinks from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks/{columnlink-id}
PATCH
Sitescontenttypesupdatecolumnlinks — Microsoft Graph Update the navigation property columnLinks in sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks/{columnlink-id}
DELETE
Sitescontenttypesdeletecolumnlinks — Microsoft Graph Delete navigation property columnLinks for sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks/{columnlink-id}
GET
Sitescontenttypeslistcolumnpositions — Microsoft Graph Get columnPositions from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnpositions
GET
Sitescontenttypescolumnpositionsgetcountdea9 — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnpositions/count
GET
Sitescontenttypesgetcolumnpositions — Microsoft Graph Get columnPositions from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columnpositions/{columndefinition-id}
GET
Sitescontenttypeslistcolumns — Microsoft Graph List columnDefinitions in a content type
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns
POST
Sitescontenttypescreatecolumns — Microsoft Graph Create a columnDefinition in a content type
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns
GET
Sitescontenttypescolumnsgetcount896b — Microsoft Graph Get the number of the resource
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns/count
GET
Sitescontenttypesgetcolumns — Microsoft Graph Get columnDefinition
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns/{columndefinition-id}
PATCH
Sitescontenttypesupdatecolumns — Microsoft Graph Update columnDefinition
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns/{columndefinition-id}
DELETE
Sitescontenttypesdeletecolumns — Microsoft Graph Delete columnDefinition
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns/{columndefinition-id}
GET
Sitescontenttypescolumnsgetsourcecolumn — Microsoft Graph Get sourceColumn from sites
/v1/sites/{site-id}/contenttypes/{contenttype-id}/columns/{columndefinition-id}/sourcecolumn
POST
Sitessitecontenttypescontenttypecopytodefaultcontentlocation — Microsoft Graph Invoke action copyToDefaultContentLocation
/v1/sites/{site-id}/contenttypes/{contenttype-id}/copytodefaultcontentlocation
GET
Sitessitecontenttypescontenttypeispublished — Microsoft Graph Invoke function isPublished
/v1/sites/{site-id}/contenttypes/{contenttype-id}/ispublished
POST
Sitessitecontenttypescontenttypepublish — Microsoft Graph Invoke action publish
/v1/sites/{site-id}/contenttypes/{contenttype-id}/publish
POST
Sitessitecontenttypescontenttypeunpublish — Microsoft Graph Invoke action unpublish
/v1/sites/{site-id}/contenttypes/{contenttype-id}/unpublish
GET
Sitesgetbypathlistcontenttypes — Microsoft Graph Get contentTypes from sites
/v1/sites/{site-id}/getbypath-path-path/contenttypes
POST
Sitesgetbypathcreatecontenttypes — Microsoft Graph Create new navigation property to contentTypes for sites
/v1/sites/{site-id}/getbypath-path-path/contenttypes

MCP Tools

microsoft-graph-list-contenttypes-site

Microsoft Graph List contentTypes in a site

read-only idempotent
microsoft-graph-create-content-type

Microsoft Graph Create a content type

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-invoke-action-addcopy

Microsoft Graph Invoke action addCopy

microsoft-graph-invoke-action-addcopyfromcontenttypehub

Microsoft Graph Invoke action addCopyFromContentTypeHub

microsoft-graph-invoke-function-getcompatiblehubcontenttypes

Microsoft Graph Invoke function getCompatibleHubContentTypes

read-only idempotent
microsoft-graph-get-contenttype

Microsoft Graph Get contentType

read-only idempotent
microsoft-graph-update-contenttype

Microsoft Graph Update contentType

idempotent
microsoft-graph-delete-contenttype

Microsoft Graph Delete contentType

idempotent
microsoft-graph-invoke-action-associatewithhubsites

Microsoft Graph Invoke action associateWithHubSites

microsoft-graph-get-base-sites

Microsoft Graph Get base from sites

read-only idempotent
microsoft-graph-get-basetypes-sites

Microsoft Graph Get baseTypes from sites

read-only idempotent
microsoft-graph-get-number-resource-2

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-basetypes-sites-2

Microsoft Graph Get baseTypes from sites

read-only idempotent
microsoft-graph-get-columnlinks-sites

Microsoft Graph Get columnLinks from sites

read-only idempotent
microsoft-graph-create-new-navigation

Microsoft Graph Create new navigation property to columnLinks for sites

microsoft-graph-get-number-resource-3

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-columnlinks-sites-2

Microsoft Graph Get columnLinks from sites

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property columnLinks in sites

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property columnLinks for sites

idempotent
microsoft-graph-get-columnpositions-sites

Microsoft Graph Get columnPositions from sites

read-only idempotent
microsoft-graph-get-number-resource-4

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-columnpositions-sites-2

Microsoft Graph Get columnPositions from sites

read-only idempotent
microsoft-graph-list-columndefinitions-content

Microsoft Graph List columnDefinitions in a content type

read-only idempotent
microsoft-graph-create-columndefinition-content

Microsoft Graph Create a columnDefinition in a content type

microsoft-graph-get-number-resource-5

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-columndefinition

Microsoft Graph Get columnDefinition

read-only idempotent
microsoft-graph-update-columndefinition

Microsoft Graph Update columnDefinition

idempotent
microsoft-graph-delete-columndefinition

Microsoft Graph Delete columnDefinition

idempotent
microsoft-graph-get-sourcecolumn-sites

Microsoft Graph Get sourceColumn from sites

read-only idempotent
microsoft-graph-invoke-action-copytodefaultcontentlocation

Microsoft Graph Invoke action copyToDefaultContentLocation

microsoft-graph-invoke-function-ispublished

Microsoft Graph Invoke function isPublished

read-only idempotent
microsoft-graph-invoke-action-publish

Microsoft Graph Invoke action publish

microsoft-graph-invoke-action-unpublish

Microsoft Graph Invoke action unpublish

microsoft-graph-get-contenttypes-sites

Microsoft Graph Get contentTypes from sites

read-only idempotent
microsoft-graph-create-new-navigation-2

Microsoft Graph Create new navigation property to contentTypes for sites

Capability Spec

sites-sites-contenttype.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Sites — sites.contentType
  description: 'Microsoft Graph Sites — sites.contentType. 36 operations. Lead operation: Microsoft Graph List contentTypes
    in a site. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - sites.contentType
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: sites-sites-contenttype
    baseUri: ''
    description: Microsoft Graph Sites — sites.contentType business capability. Self-contained, no shared references.
    resources:
    - name: sites-site-id-contentTypes
      path: /sites/{site-id}/contentTypes
      operations:
      - name: siteslistcontenttypes
        method: GET
        description: Microsoft Graph List contentTypes in a site
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitescreatecontenttypes
        method: POST
        description: Microsoft Graph Create a content type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-$count
      path: /sites/{site-id}/contentTypes/$count
      operations:
      - name: sitescontenttypesgetcount50aa
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-addCopy
      path: /sites/{site-id}/contentTypes/addCopy
      operations:
      - name: sitessitecontenttypesaddcopy
        method: POST
        description: Microsoft Graph Invoke action addCopy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-addCopyFromContentTypeHub
      path: /sites/{site-id}/contentTypes/addCopyFromContentTypeHub
      operations:
      - name: sitessitecontenttypesaddcopyfromcontenttypehub
        method: POST
        description: Microsoft Graph Invoke action addCopyFromContentTypeHub
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-getCompatibleHubContentTypes()
      path: /sites/{site-id}/contentTypes/getCompatibleHubContentTypes()
      operations:
      - name: sitessitecontenttypesgetcompatiblehubcontenttypes
        method: GET
        description: Microsoft Graph Invoke function getCompatibleHubContentTypes
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id
      path: /sites/{site-id}/contentTypes/{contentType-id}
      operations:
      - name: sitesgetcontenttypes
        method: GET
        description: Microsoft Graph Get contentType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesupdatecontenttypes
        method: PATCH
        description: Microsoft Graph Update contentType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitesdeletecontenttypes
        method: DELETE
        description: Microsoft Graph Delete contentType
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-contentTypes-contentType-id-associateWithHubSites
      path: /sites/{site-id}/contentTypes/{contentType-id}/associateWithHubSites
      operations:
      - name: sitessitecontenttypescontenttypeassociatewithhubsites
        method: POST
        description: Microsoft Graph Invoke action associateWithHubSites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-contentType-id-base
      path: /sites/{site-id}/contentTypes/{contentType-id}/base
      operations:
      - name: sitescontenttypesgetbase
        method: GET
        description: Microsoft Graph Get base from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id-baseTypes
      path: /sites/{site-id}/contentTypes/{contentType-id}/baseTypes
      operations:
      - name: sitescontenttypeslistbasetypes
        method: GET
        description: Microsoft Graph Get baseTypes from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id-baseTypes-$count
      path: /sites/{site-id}/contentTypes/{contentType-id}/baseTypes/$count
      operations:
      - name: sitescontenttypesbasetypesgetcount6b07
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-contentType-id-baseTypes-contentType-id1
      path: /sites/{site-id}/contentTypes/{contentType-id}/baseTypes/{contentType-id1}
      operations:
      - name: sitescontenttypesgetbasetypes
        method: GET
        description: Microsoft Graph Get baseTypes from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id-columnLinks
      path: /sites/{site-id}/contentTypes/{contentType-id}/columnLinks
      operations:
      - name: sitescontenttypeslistcolumnlinks
        method: GET
        description: Microsoft Graph Get columnLinks from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitescontenttypescreatecolumnlinks
        method: POST
        description: Microsoft Graph Create new navigation property to columnLinks for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-contentType-id-columnLinks-$count
      path: /sites/{site-id}/contentTypes/{contentType-id}/columnLinks/$count
      operations:
      - name: sitescontenttypescolumnlinksgetcount7bc1
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-contentType-id-columnLinks-columnLink-id
      path: /sites/{site-id}/contentTypes/{contentType-id}/columnLinks/{columnLink-id}
      operations:
      - name: sitescontenttypesgetcolumnlinks
        method: GET
        description: Microsoft Graph Get columnLinks from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitescontenttypesupdatecolumnlinks
        method: PATCH
        description: Microsoft Graph Update the navigation property columnLinks in sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitescontenttypesdeletecolumnlinks
        method: DELETE
        description: Microsoft Graph Delete navigation property columnLinks for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-contentTypes-contentType-id-columnPositions
      path: /sites/{site-id}/contentTypes/{contentType-id}/columnPositions
      operations:
      - name: sitescontenttypeslistcolumnpositions
        method: GET
        description: Microsoft Graph Get columnPositions from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id-columnPositions-$count
      path: /sites/{site-id}/contentTypes/{contentType-id}/columnPositions/$count
      operations:
      - name: sitescontenttypescolumnpositionsgetcountdea9
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-contentType-id-columnPositions-columnDefinition-id
      path: /sites/{site-id}/contentTypes/{contentType-id}/columnPositions/{columnDefinition-id}
      operations:
      - name: sitescontenttypesgetcolumnpositions
        method: GET
        description: Microsoft Graph Get columnPositions from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id-columns
      path: /sites/{site-id}/contentTypes/{contentType-id}/columns
      operations:
      - name: sitescontenttypeslistcolumns
        method: GET
        description: Microsoft Graph List columnDefinitions in a content type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitescontenttypescreatecolumns
        method: POST
        description: Microsoft Graph Create a columnDefinition in a content type
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-contentType-id-columns-$count
      path: /sites/{site-id}/contentTypes/{contentType-id}/columns/$count
      operations:
      - name: sitescontenttypescolumnsgetcount896b
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-contentType-id-columns-columnDefinition-id
      path: /sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}
      operations:
      - name: sitescontenttypesgetcolumns
        method: GET
        description: Microsoft Graph Get columnDefinition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitescontenttypesupdatecolumns
        method: PATCH
        description: Microsoft Graph Update columnDefinition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: sitescontenttypesdeletecolumns
        method: DELETE
        description: Microsoft Graph Delete columnDefinition
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
    - name: sites-site-id-contentTypes-contentType-id-columns-columnDefinition-id-sourceColu
      path: /sites/{site-id}/contentTypes/{contentType-id}/columns/{columnDefinition-id}/sourceColumn
      operations:
      - name: sitescontenttypescolumnsgetsourcecolumn
        method: GET
        description: Microsoft Graph Get sourceColumn from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
    - name: sites-site-id-contentTypes-contentType-id-copyToDefaultContentLocation
      path: /sites/{site-id}/contentTypes/{contentType-id}/copyToDefaultContentLocation
      operations:
      - name: sitessitecontenttypescontenttypecopytodefaultcontentlocation
        method: POST
        description: Microsoft Graph Invoke action copyToDefaultContentLocation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: sites-site-id-contentTypes-contentType-id-isPublished()
      path: /sites/{site-id}/contentTypes/{contentType-id}/isPublished()
      operations:
      - name: sitessitecontenttypescontenttypeispublished
        method: GET
        description: Microsoft Graph Invoke function isPublished
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-contentType-id-publish
      path: /sites/{site-id}/contentTypes/{contentType-id}/publish
      operations:
      - name: sitessitecontenttypescontenttypepublish
        method: POST
        description: Microsoft Graph Invoke action publish
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-contentTypes-contentType-id-unpublish
      path: /sites/{site-id}/contentTypes/{contentType-id}/unpublish
      operations:
      - name: sitessitecontenttypescontenttypeunpublish
        method: POST
        description: Microsoft Graph Invoke action unpublish
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: sites-site-id-getByPath(path='{path}')-contentTypes
      path: /sites/{site-id}/getByPath(path='{path}')/contentTypes
      operations:
      - name: sitesgetbypathlistcontenttypes
        method: GET
        description: Microsoft Graph Get contentTypes from sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: sitesgetbypathcreatecontenttypes
        method: POST
        description: Microsoft Graph Create new navigation property to contentTypes for sites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: sites-sites-contenttype-rest
    port: 8080
    description: REST adapter for Microsoft Graph Sites — sites.contentType. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/sites/{site-id}/contenttypes
      name: sites-site-id-contenttypes
      description: REST surface for sites-site-id-contentTypes.
      operations:
      - method: GET
        name: siteslistcontenttypes
        description: Microsoft Graph List contentTypes in a site
        call: sites-sites-contenttype.siteslistcontenttypes
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sitescreatecontenttypes
        description: Microsoft Graph Create a content type
        call: sites-sites-contenttype.sitescreatecontenttypes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/count
      name: sites-site-id-contenttypes-count
      description: REST surface for sites-site-id-contentTypes-$count.
      operations:
      - method: GET
        name: sitescontenttypesgetcount50aa
        description: Microsoft Graph Get the number of the resource
        call: sites-sites-contenttype.sitescontenttypesgetcount50aa
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/addcopy
      name: sites-site-id-contenttypes-addcopy
      description: REST surface for sites-site-id-contentTypes-addCopy.
      operations:
      - method: POST
        name: sitessitecontenttypesaddcopy
        description: Microsoft Graph Invoke action addCopy
        call: sites-sites-contenttype.sitessitecontenttypesaddcopy
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/addcopyfromcontenttypehub
      name: sites-site-id-contenttypes-addcopyfromcontenttypehub
      description: REST surface for sites-site-id-contentTypes-addCopyFromContentTypeHub.
      operations:
      - method: POST
        name: sitessitecontenttypesaddcopyfromcontenttypehub
        description: Microsoft Graph Invoke action addCopyFromContentTypeHub
        call: sites-sites-contenttype.sitessitecontenttypesaddcopyfromcontenttypehub
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/getcompatiblehubcontenttypes
      name: sites-site-id-contenttypes-getcompatiblehubcontenttypes
      description: REST surface for sites-site-id-contentTypes-getCompatibleHubContentTypes().
      operations:
      - method: GET
        name: sitessitecontenttypesgetcompatiblehubcontenttypes
        description: Microsoft Graph Invoke function getCompatibleHubContentTypes
        call: sites-sites-contenttype.sitessitecontenttypesgetcompatiblehubcontenttypes
        with:
          $select: rest.$select
          $orderby: rest.$orderby
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}
      name: sites-site-id-contenttypes-contenttype-id
      description: REST surface for sites-site-id-contentTypes-contentType-id.
      operations:
      - method: GET
        name: sitesgetcontenttypes
        description: Microsoft Graph Get contentType
        call: sites-sites-contenttype.sitesgetcontenttypes
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitesupdatecontenttypes
        description: Microsoft Graph Update contentType
        call: sites-sites-contenttype.sitesupdatecontenttypes
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitesdeletecontenttypes
        description: Microsoft Graph Delete contentType
        call: sites-sites-contenttype.sitesdeletecontenttypes
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/associatewithhubsites
      name: sites-site-id-contenttypes-contenttype-id-associatewithhubsites
      description: REST surface for sites-site-id-contentTypes-contentType-id-associateWithHubSites.
      operations:
      - method: POST
        name: sitessitecontenttypescontenttypeassociatewithhubsites
        description: Microsoft Graph Invoke action associateWithHubSites
        call: sites-sites-contenttype.sitessitecontenttypescontenttypeassociatewithhubsites
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/base
      name: sites-site-id-contenttypes-contenttype-id-base
      description: REST surface for sites-site-id-contentTypes-contentType-id-base.
      operations:
      - method: GET
        name: sitescontenttypesgetbase
        description: Microsoft Graph Get base from sites
        call: sites-sites-contenttype.sitescontenttypesgetbase
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/basetypes
      name: sites-site-id-contenttypes-contenttype-id-basetypes
      description: REST surface for sites-site-id-contentTypes-contentType-id-baseTypes.
      operations:
      - method: GET
        name: sitescontenttypeslistbasetypes
        description: Microsoft Graph Get baseTypes from sites
        call: sites-sites-contenttype.sitescontenttypeslistbasetypes
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/basetypes/count
      name: sites-site-id-contenttypes-contenttype-id-basetypes-count
      description: REST surface for sites-site-id-contentTypes-contentType-id-baseTypes-$count.
      operations:
      - method: GET
        name: sitescontenttypesbasetypesgetcount6b07
        description: Microsoft Graph Get the number of the resource
        call: sites-sites-contenttype.sitescontenttypesbasetypesgetcount6b07
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/basetypes/{contenttype-id1}
      name: sites-site-id-contenttypes-contenttype-id-basetypes-contenttype-id1
      description: REST surface for sites-site-id-contentTypes-contentType-id-baseTypes-contentType-id1.
      operations:
      - method: GET
        name: sitescontenttypesgetbasetypes
        description: Microsoft Graph Get baseTypes from sites
        call: sites-sites-contenttype.sitescontenttypesgetbasetypes
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks
      name: sites-site-id-contenttypes-contenttype-id-columnlinks
      description: REST surface for sites-site-id-contentTypes-contentType-id-columnLinks.
      operations:
      - method: GET
        name: sitescontenttypeslistcolumnlinks
        description: Microsoft Graph Get columnLinks from sites
        call: sites-sites-contenttype.sitescontenttypeslistcolumnlinks
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: sitescontenttypescreatecolumnlinks
        description: Microsoft Graph Create new navigation property to columnLinks for sites
        call: sites-sites-contenttype.sitescontenttypescreatecolumnlinks
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks/count
      name: sites-site-id-contenttypes-contenttype-id-columnlinks-count
      description: REST surface for sites-site-id-contentTypes-contentType-id-columnLinks-$count.
      operations:
      - method: GET
        name: sitescontenttypescolumnlinksgetcount7bc1
        description: Microsoft Graph Get the number of the resource
        call: sites-sites-contenttype.sitescontenttypescolumnlinksgetcount7bc1
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/columnlinks/{columnlink-id}
      name: sites-site-id-contenttypes-contenttype-id-columnlinks-columnlink-id
      description: REST surface for sites-site-id-contentTypes-contentType-id-columnLinks-columnLink-id.
      operations:
      - method: GET
        name: sitescontenttypesgetcolumnlinks
        description: Microsoft Graph Get columnLinks from sites
        call: sites-sites-contenttype.sitescontenttypesgetcolumnlinks
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: sitescontenttypesupdatecolumnlinks
        description: Microsoft Graph Update the navigation property columnLinks in sites
        call: sites-sites-contenttype.sitescontenttypesupdatecolumnlinks
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: sitescontenttypesdeletecolumnlinks
        description: Microsoft Graph Delete navigation property columnLinks for sites
        call: sites-sites-contenttype.sitescontenttypesdeletecolumnlinks
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/columnpositions
      name: sites-site-id-contenttypes-contenttype-id-columnpositions
      description: REST surface for sites-site-id-contentTypes-contentType-id-columnPositions.
      operations:
      - method: GET
        name: sitescontenttypeslistcolumnpositions
        description: Microsoft Graph Get columnPositions from sites
        call: sites-sites-contenttype.sitescontenttypeslistcolumnpositions
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/columnpositions/count
      name: sites-site-id-contenttypes-contenttype-id-columnpositions-count
      description: REST surface for sites-site-id-contentTypes-contentType-id-columnPositions-$count.
      operations:
      - method: GET
        name: sitescontenttypescolumnpositionsgetcountdea9
        description: Microsoft Graph Get the number of the resource
        call: sites-sites-contenttype.sitescontenttypescolumnpositionsgetcountdea9
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/sites/{site-id}/contenttypes/{contenttype-id}/columnpositions/{columndefinition-id}
      name: sites-site-id-contenttypes-contenttype-id-columnpositions-columndefinition-id
      description: REST surface for sites-site-id-contentTypes-contentType-id-columnPositions-columnDefinition-id.
      operations:
      - method: GET
        name: sitescontenttypesgetcolumnpositions
        desc

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