The spec defines the name of a drive as required, see
https://github.com/owncloud/libre-graph-api/blob/18cc51ae24b30aa25c141cb4bf48d342f99c88fb/api/openapi-spec/v1.0.yaml#L3274C7-L3274C15
In order to patch a drive with
headers: {
Restore: true
}
the corresponding PATCH request requires the drive name to be provided in the request body, which doesn't make sense for that particular request.
Can we make the name attribute of the drive optional, or does that lead to other issues?
The spec defines the
nameof adriveasrequired, seehttps://github.com/owncloud/libre-graph-api/blob/18cc51ae24b30aa25c141cb4bf48d342f99c88fb/api/openapi-spec/v1.0.yaml#L3274C7-L3274C15
In order to patch a drive with
the corresponding
PATCHrequest requires the drivenameto be provided in the request body, which doesn't make sense for that particular request.Can we make the
nameattribute of thedriveoptional, or does that lead to other issues?