mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update api routes
This commit is contained in:
parent
4d997bb959
commit
b4ad6668e9
1 changed files with 2 additions and 0 deletions
|
@ -91,6 +91,8 @@ Route::group(['prefix' => 'api'], function() use($middleware) {
|
||||||
Route::post('markers', 'Api\ApiV1Controller@setMarkers')->middleware($middleware);
|
Route::post('markers', 'Api\ApiV1Controller@setMarkers')->middleware($middleware);
|
||||||
|
|
||||||
Route::get('followed_tags', 'Api\ApiV1Controller@getFollowedTags')->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) {
|
Route::group(['prefix' => 'v2'], function() use($middleware) {
|
||||||
|
|
Loading…
Reference in a new issue