API: Added more functions, fixed function names

This commit is contained in:
Michael 2021-11-28 13:34:00 +00:00
parent 8d5c03755d
commit 222b35684d
19 changed files with 322 additions and 296 deletions

View file

@ -31,7 +31,7 @@ use Friendica\Network\HTTPException\BadRequestException;
*/
class Create extends BaseApi
{
protected function rawContent(array $request = [])
protected function post(array $request = [], array $post = [])
{
self::checkAllowedScope(self::SCOPE_WRITE);
$uid = self::getCurrentUserID();