1.0.6 • Published 2 years ago

unqork v1.0.6

Weekly downloads
-
License
Apache-2.0 licens...
Repository
github
Last release
2 years ago

NPM version NPM downloads MIT License

About

This is not the official repository

Install

Using npm:

npm install unqork

Usage

const Unqork = require("unqork");

(async () => {
    const unqork = new Unqork("email", "password", "environment");
    const submission = await unqork.getSubmission("6078e938d87660707f31c624", "6053e968afcc293120198785");
    console.log(submission);
})();

API

getSubmission(moduleId, submissionId)

const submission = await unqork.getSubmission("6078e938d87660707f31c624", "6053e968afcc293120198785");

updateSubmission(moduleId, submissionId, json)

const submission = await unqork.updateSubmission("6078e938d87660707f31c624", "6053e968afcc293120198785", { data: { fullName: "John Doe" });

deleteSubmission(moduleId, submissionId)

const status = await unqork.deleteSubmission("6078e938d87660707f31c624", "6053e968afcc293120198785");

execute(moduleId, json)

const submission = await unqork.execute("6078e938d87660707f31c624", { fullName: "John Doe" });

getRevisions(moduleId, submissionId)

const revisions = await unqork.getRevisions("6078e938d87660707f31c624", "6053e968afcc293120198785");

getRevision(moduleId, submissionId, revisionId)

const revision = await unqork.getRevision("6078e938d87660707f31c624", "6053e968afcc293120198785", "631e45648d8561859j23c789");
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago