MCPcopy Create free account
hub / github.com/Rello/analytics / addData

Method addData

lib/Controller/ApiController.php:127–132  ·  view source on GitHub ↗

Add or update rows using the existing V4 validation and write path. */

(int $datasetId)

Source from the content-addressed store, hash-verified

125
126 /** Add or update rows using the existing V4 validation and write path. */
127 #[NoAdminRequired]
128 #[NoCSRFRequired]
129 #[ApiRoute(verb: 'POST', url: '/api/v1/datasets/{datasetId}/data/add')]
130 public function addData(int $datasetId): DataResponse {
131 return $this->apiDataController->addDataV4($datasetId);
132 }
133
134 /** Delete rows using the existing V4 structured-filter write path. */
135 #[NoAdminRequired]

Callers

nothing calls this directly

Calls 1

addDataV4Method · 0.80

Tested by

no test coverage detected