The example below demonstrates retrieving footprints using the getFieldOfViews2D() function. After the workspace is open, press the 'Get Field-of-view objects' to update the json browser on the right.
getFieldOfViews2D()