If I run the query ..._api/web/lists/GetByTitle('Site Pages')/items, I get a list of properties, but it is not comprehensive. For example, FileRef is not visible in the resulting JSON, but can be selected explicitly.

Can I expose these hidden properties via a query, or is there somewhere I can find proper docs?

I thought SPBuiltInFieldId.FileRef Field would be handy as it lists some options that are selectable, but it also lists options that are not selectable, which is not great to work with.

I'm getting quite sick of a trial and error/trying my luck on google approach, so advice will be much appreciated!

  • Not sure if this is what you want. But, you can see all the list/library fields (hidden/read-only/required/optional) using _api/web/lists/GetByTitle('Site Pages')/fields. Dec 22, 2020 at 11:06
  • thanks, that's pretty much what I need!
    – P. Drew
    Dec 22, 2020 at 12:31

1 Answer 1


You can get all the list/library fields (hidden/read-only/required/optional) using below endpoint:

<siteUrl>/_api/web/lists/GetByTitle('Site Pages')/fields

Microsoft documentation: Working with lists and list items with REST

This site is temporarily in read-only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .