# ncl_recording.recording_store: Nextcloud Package for recording operations that could not be mapped to a table.
ncl_recording.recording_store: Nextcloud Package for recording operations that could not be mapped to a table.
When a `fileName` is provided the recording is expected to have been uploaded already through a share requested with {@see self::requestUpload()}, and only the post-processing is run. Otherwise the recording is read from the multipart `file` upload.
Required capability: `recording-v1`Parameters of Procedure
The following parameters can be used to control the behaviour of the procedure `ncl_recording.recording_store`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `begin package.procedure(value1, value2, value3); end` on a procedure with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `begin package.procedure(name1 => value1, name3 => value3); end` on the same procedure will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `owner` | `string` | ☐ | | User that will own the recording file. `null` is actually not allowed and will always result in a "400 Bad Request". It's only allowed code-wise to handle requests where the post data exceeded the limits, so we can return a proper error instead of "500 Internal Server Error". |
| `fileName` | `string` | ☐ | | The sanitized file name returned by the request-upload request. When provided, no multipart `file` is expected. |
| `p_apiVersion` | `string` | ☑ | | Values: v1. |
| `p_token` | `string` | ☑ | | |
| `p_talk-recording-random` | `string` | ☐ | | Random seed (at least 32 bytes) used together with the room token to generate the SHA256-HMAC request checksum |
| `p_talk-recording-checksum` | `string` | ☐ | | SHA256-HMAC checksum over the concatenation of the random seed and the room token, signed with the shared recording secret, to verify authenticity from the recording backend |