Coder Social home page Coder Social logo

task-client's Introduction

on_task_client

OnTaskClient - JavaScript client for on_task_client No descripton provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) This SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.0.1
  • Package version: 0.0.1
  • Build date: 2016-09-22T00:23:31.974Z
  • Build package: class io.swagger.codegen.languages.JavascriptClientCodegen

Installation

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install on_task_client --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/on_task_client then install it via:

    npm install YOUR_USERNAME/on_task_client --save

For browser

The library also works in the browser environment via npm and browserify. After following the above steps with Node.js and installing browserify with npm install -g browserify, perform the following (assuming main.js is your entry file):

browserify main.js > bundle.js

Then include bundle.js in the HTML pages.

Getting Started

Please follow the installation instruction and execute the following JS code:

var OnTaskClient = require('on_task_client');

var api = new OnTaskClient.GraphsApi()

var injectableName = "injectableName_example"; // {String} The workflow graph injectable name 


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

Documentation for API Endpoints

All URIs are relative to http://localhost/api/2.0

Class Method HTTP request Description
OnTaskClient.GraphsApi workflowsDeleteGraphsByName DELETE /workflows/graphs/{injectableName} Delete a workflow graph
OnTaskClient.GraphsApi workflowsGetGraphs GET /workflows/graphs Get list of workflow graphs
OnTaskClient.GraphsApi workflowsGetGraphsByName GET /workflows/graphs/{injectableName} Get a workflow graph
OnTaskClient.GraphsApi workflowsPutGraphs PUT /workflows/graphs Put a graph
OnTaskClient.TasksApi getBootstrap GET /tasks/bootstrap.js Get tasks bootstrap.js
OnTaskClient.TasksApi getTasksById GET /tasks/{identifier} Get a task
OnTaskClient.TasksApi postTaskById POST /tasks/{identifier} Post a task
OnTaskClient.TasksApi workflowsDeleteTasksByName DELETE /workflows/tasks/{injectableName} Delete a workflow task
OnTaskClient.TasksApi workflowsGetAllTasks GET /workflows/tasks Get list of workflow tasks
OnTaskClient.TasksApi workflowsGetTasksByName GET /workflows/tasks/{injectableName} Get a workflow task
OnTaskClient.TasksApi workflowsPutTask PUT /workflows/tasks Put a workflow task
OnTaskClient.WorkflowsApi workflowsAction PUT /workflows/{identifier}/action Perform an action on a workflow
OnTaskClient.WorkflowsApi workflowsDeleteByInstanceId DELETE /workflows/{identifier} Delete a workflow
OnTaskClient.WorkflowsApi workflowsGet GET /workflows Get a list of workflow instances
OnTaskClient.WorkflowsApi workflowsGetByInstanceId GET /workflows/{identifier} Get a workflow
OnTaskClient.WorkflowsApi workflowsPost POST /workflows Run a workflow

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

task-client's People

Contributors

keedya avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.