Geoserver post request 500 error SQLITE READONLY DB

/workspaces/{workspaceName}/datastores/{storeName}/featuretypes
Where can I find all the documentation about the body JSON?
When I send the request, I have a DBREADONLY unable to fetch the table from the geopackage.

Moved from General to Geoserver - User