Samba

Create a Samba share

Changed on

Create a Samba share with the specified settings

post/samba/shares

Request

  • Base URL
    https://sylve.lan:8181/api
  • URL
    https://sylve.lan:8181/api/samba/shares
  • Auth
    API key in header Authorization

Request body

auditEnabledboolean
auditRetentionDaysinteger
auditedOperationsstring[]
createMaskstring
datasetstring
directoryMaskstring
enabledboolean
extraShareConfigstring
namestring
timeMachineboolean
timeMachineMaxSizeinteger

Response

Created

dataunknown
errorstring
messagestring
statusstring

Changes

    • info

      added the non-success response with the status

    • breaking

      removed the success response with the status

    • info

      the endpoint scheme security BearerAuth was added to the API

    • info

      added the non-success response with the status

    • info

      added the success response with the status