1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 00:05:29 +00:00

Update api routes

This commit is contained in:
Daniel Supernault 2023-05-09 01:10:09 -06:00
parent 4d997bb959
commit b4ad6668e9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -91,6 +91,8 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
Route::post('markers', 'Api\ApiV1Controller@setMarkers')->middleware($middleware);
Route::get('followed_tags', 'Api\ApiV1Controller@getFollowedTags')->middleware($middleware);
Route::post('tags/{id}/follow', 'Api\ApiV1Controller@followHashtag')->middleware($middleware);
Route::post('tags/{id}/unfollow', 'Api\ApiV1Controller@unfollowHashtag')->middleware($middleware);
});
Route::group(['prefix' => 'v2'], function() use($middleware) {