Add some media endpoint routes

This commit is contained in:
Jonny Barnes 2017-03-15 12:22:41 +00:00
parent aca16c9d0b
commit 2df9013274

View file

@ -109,9 +109,12 @@ Route::group(['domain' => config('url.longurl')], function () {
Route::get('micropub/create', 'MicropubClientController@create')->name('micropub-client'); Route::get('micropub/create', 'MicropubClientController@create')->name('micropub-client');
Route::post('micropub', 'MicropubClientController@store')->name('micropub-client-post'); Route::post('micropub', 'MicropubClientController@store')->name('micropub-client-post');
Route::get('micropub/config', 'MicropubClientController@config')->name('micropub-config'); Route::get('micropub/config', 'MicropubClientController@config')->name('micropub-config');
Route::get('micropub/refresh-syndication-targets', 'MicropubClientController@refreshSyndicationTargets'); Route::get('micropub/query-endpoint', 'MicropubClientController@queryEndpoint')->name('micropub-query-action');
//Route::get('micropub/refresh-syndication-targets', 'MicropubClientController@refreshSyndicationTargets');
Route::get('micropub/places', 'MicropubClientController@nearbyPlaces'); Route::get('micropub/places', 'MicropubClientController@nearbyPlaces');
Route::post('micropub/places', 'MicropubClientController@newPlace'); Route::post('micropub/places', 'MicropubClientController@newPlace');
Route::post('micropub/media', 'MicropubClientController@processMedia')->name('process-media');
Route::get('micropub/media/clearlinks', 'MicropubClientController@clearLinks');
// Micropub Endpoint // Micropub Endpoint
Route::get('api/post', 'MicropubController@get'); Route::get('api/post', 'MicropubController@get');