class AnnotationAssistanceRequestController extends Controller

Traits

AuthorizesRequests
ValidatesRequests

Methods

bool
isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

Response
create(Request $request)

Create a new annotation assistance request.

Response
show(int $id)

Show an assistance request.

Response
respond(string $token)

Respond to an assistance request.

Response
index(Request $request)

Show the list of all assistance requests of the user.

Details

in Controller at line 21
bool isAutomatedRequest(Request $request = null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

at line 25
Response create(Request $request)

Create a new annotation assistance request.

Parameters

Request $request

Return Value

Response

at line 70
Response show(int $id)

Show an assistance request.

Parameters

int $id

Return Value

Response

at line 106
Response respond(string $token)

Respond to an assistance request.

Parameters

string $token

Return Value

Response

at line 139
Response index(Request $request)

Show the list of all assistance requests of the user.

Parameters

Request $request

Return Value

Response