Skip to content

API Comments Endpoints

Michele Angioni edited this page Mar 8, 2016 · 1 revision

Create a New Comment

Endpoint

POST /api/v1/comments

Data Receivable

'idPost' => 'required|integer|min:1',
'text' => 'required|alpha_complete|min:1'

Authentication Header

Required

Delete a Comment

Endpoint

DELETE /api/v1/comments /{id}

Authentication Header

Required

N.B. The /api prefix in the url can be customized by changing the api_prefix key to true in the ma_messageboard.php config file.