mirror of
https://github.com/friendica/friendica
synced 2025-04-26 18:30:11 +00:00
API: Mastodon endpoints added as "unimplemented"
This commit is contained in:
parent
2850f260eb
commit
db5cd6e66c
3 changed files with 145 additions and 3 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue