IronFunctions.TasksApi

December 1, 2016 ยท View on GitHub

All URIs are relative to https://127.0.0.1:8080/v1

MethodHTTP requestDescription
tasksGetGET /tasksGet next task.

tasksGet

TaskWrapper tasksGet()

Get next task.

Gets the next task in the queue, ready for processing. Consumers should start processing tasks in order. No other consumer can retrieve this task.

Example

var IronFunctions = require('iron_functions');

var apiInstance = new IronFunctions.TasksApi();

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.tasksGet(callback);

Parameters

This endpoint does not need any parameter.

Return type

TaskWrapper

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json