Uploading to sharepoint- how to edit document library columns

The document libraries also appear as lists when you search for it.

Regarding the metadata, you can explore the files metadata using the Graph API explorer.

Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph