2

Anybody know if there's a REST way to get all the field names for a site content type? I know I can do this:

http://<sitecollection>/<site>/_api/web/lists(listid)/contenttypes(contenttypeid)/fields

But that query will only take the ID for the child list content type, not the original parent site content.

1 Answer 1

2

Site content types are off of the Web object.

http://<sitecollection>/<site>/_api/web/contenttypes(contenttypeid)/fields

1
  • Thank goodness for SPSE, or Microsoft might have to provide complete documentation! ;-)
    – Tracy
    Mar 5, 2019 at 15:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.