I understand that the per-file elements .metadata.json are a combination of "core" octoprint elements plus additional ones that can be added by plugins.
I would like to know what are the core elements that are always included.
The API documentation File operations β OctoPrint master documentation seems to imply that the following elements are core. But I would like to confirm.
The internal metadata file follows a similar structure, and properties will/won't be available for similar reasons. There is no separate data model documented for the internal metadata however.
So are you saying there is no documented list for the core per-file elements of metadata.json?
The reason I need this is that I want to get the minimal common set of elements without including all the extra information added by other plugins.
(specific case here is Obico that passes the metadata for each file being printed to the Obico server -- however packet size is limited to 1300 bytes which gets exceeded when you add all the metadata from all 3rd party plugins -- so I am looking to include only the core keys plus the obico key. I am working on patching this to prevent the overflow case.)
Yeah, things like origin aren't in the json file physically and are added as part of the api request. What is displayed and accessible from the UI's file list uses the API.