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

Method writeOperations

tests/Controller/ApiControllerTest.php:106–113  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

104 }
105
106 public function writeOperations(): array {
107 return [
108 ['addData', 'addDataV4', ['success' => true, 'message' => 'Data update successful']],
109 ['deleteData', 'deleteDataV4', ['success' => true, 'delete' => 2]],
110 ['addData', 'addDataV4', ['success' => false, 'error' => ['code' => 9003, 'message' => 'Unknown or unauthorized report or dataset']]],
111 ['deleteData', 'deleteDataV4', ['success' => false, 'error' => ['code' => 9002, 'message' => 'filter required']]],
112 ];
113 }
114}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected