API: Mastodon endpoints added as "unimplemented"

This commit is contained in:
Michael 2020-11-26 07:02:31 +00:00
parent 2850f260eb
commit db5cd6e66c
3 changed files with 145 additions and 3 deletions

View file

@ -44,12 +44,18 @@ use Friendica\Network\HTTPException;
*/
class Router
{
const POST = 'POST';
const GET = 'GET';
const DELETE = 'DELETE';
const GET = 'GET';
const PATCH = 'PATCH';
const POST = 'POST';
const PUT = 'PUT';
const ALLOWED_METHODS = [
self::POST,
self::DELETE,
self::GET,
self::PATCH,
self::POST,
self::PUT,
];
/** @var RouteCollector */