Sign in

Read content type by ID

documented

Retrieve metadata for a specific content type.

GET {site_url}/_api/web/contenttypes/getbyid('{content_type_id}')Content Typesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://{{$site_url}}/_api/web/contenttypes/getById('{{$content_type_id}}')" \
  -X POST \
  -H "Accept: application/json;odata=nometadata" \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "X-RequestDigest: {{DIGEST_VALUE}}"