I am writing a script to identify if publicly-shared services have editing enabled. I would like this to correspond to the "Update" option listed under "What kind of editing is allowed" on an item's page in ArcGIS Online/Portal.
According to the REST API, I thought that checking for "Editing" or "Update" in the layer or tables "properties.capabilities" would return this information.
However, after testing my script, I learned that these do not match up. Is there a way to use the Python API to get a listing of what is enabled for editing that matches what is listed on the item's page?