NowthisServerCljs - JavaScript client for nowthis-server-cljs Compojure Api example This SDK is automatically generated by the Swagger Codegen project:
- API version: 0.0.1
- Package version: 0.0.1
- Build date: 2016-06-07T22:04:17.935Z
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen
For Node.js
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install nowthis-server-cljs --save
If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/nowthis-server-cljs then install it via:
npm install YOUR_USERNAME/nowthis-server-cljs --save
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.
Please follow the installation instruction and execute the following JS code:
var NowthisServerCljs = require('nowthis-server-cljs');
var api = new NowthisServerCljs.CommandsApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.commandsResetDbPost(callback);
All URIs are relative to https://localhost/
Class | Method | HTTP request | Description |
---|---|---|---|
NowthisServerCljs.CommandsApi | commandsResetDbPost | POST /commands/reset-db | Resets and initializes the database |
NowthisServerCljs.PitchesApi | commandsApprovePitchPost | POST /commands/approve_pitch | Approve a pitch |
NowthisServerCljs.PitchesApi | commandsAssignPitchAsProjectPost | POST /commands/assign_pitch_as_project | Assigns a pitch to a team or user as a project |
NowthisServerCljs.PitchesApi | commandsCreatePitchPost | POST /commands/create_pitch | Adds a pitch to the db |
NowthisServerCljs.PitchesApi | commandsDeletePitchPost | POST /commands/delete_pitch | Removes a pitch from the db |
NowthisServerCljs.PitchesApi | commandsModifyPitchContentPost | POST /commands/modify_pitch_content | Modified a pitch's content |
NowthisServerCljs.PitchesApi | commandsRejectPitchPost | POST /commands/reject_pitch | Reject a pitch |
NowthisServerCljs.PitchesApi | commandsSubmitPitchPost | POST /commands/submit_pitch | Submit a pitch |
NowthisServerCljs.PitchesApi | queriesDetailedPitchesGet | GET /queries/detailed-pitches | Returns pitch details |
NowthisServerCljs.PitchesApi | queriesPitchOfProjectGet | GET /queries/pitch-of-project | Returns the pitch that a project was created from |
NowthisServerCljs.PitchesApi | queriesPitchesGet | GET /queries/pitches | Returns pitches |
NowthisServerCljs.ProjectsApi | commandsAcceptProjectAssignmentPost | POST /commands/accept-project-assignment | Acecept a project assignment |
NowthisServerCljs.ProjectsApi | commandsApproveProjectPost | POST /commands/approve_project | Approve a project |
NowthisServerCljs.ProjectsApi | commandsCreateProjectPost | POST /commands/create_project | Adds a project to the db |
NowthisServerCljs.ProjectsApi | commandsModifyProjectContentPost | POST /commands/modify-project-content | Modified a project's content |
NowthisServerCljs.ProjectsApi | commandsRejectProjectPost | POST /commands/reject_project | Reject a project |
NowthisServerCljs.ProjectsApi | commandsStartProjectPost | POST /commands/start-project | Start working on a project |
NowthisServerCljs.ProjectsApi | commandsSubmitProjectPost | POST /commands/submit_project | Submit a project |
NowthisServerCljs.ProjectsApi | queriesDetailedProjectsGet | GET /queries/detailed-projects | Returns project details |
NowthisServerCljs.ProjectsApi | queriesProjectsGet | GET /queries/projects | Returns projects |
NowthisServerCljs.RenditionsApi | queriesRenditionsGet | GET /queries/renditions | Returns renditions for a project |
NowthisServerCljs.TeamsApi | queriesTeamsGet | GET /queries/teams | Returns teams |
NowthisServerCljs.UsersApi | queriesUsersGet | GET /queries/users | Returns users |
- NowthisServerCljs.Body33208
- NowthisServerCljs.Body33208Producer
- NowthisServerCljs.Body33208ScriptWriter
- NowthisServerCljs.Body33208Team
- NowthisServerCljs.Body33210
- NowthisServerCljs.Body33212
- NowthisServerCljs.Body33213
- NowthisServerCljs.Body33214
- NowthisServerCljs.Body33215
- NowthisServerCljs.Body33216
- NowthisServerCljs.Body33217
- NowthisServerCljs.Body33218
- NowthisServerCljs.Body33220
- NowthisServerCljs.Body33221
- NowthisServerCljs.Body33222
- NowthisServerCljs.Body33223
- NowthisServerCljs.Body33225
- NowthisServerCljs.IdMap
- NowthisServerCljs.Pitches
- NowthisServerCljs.PitchesResult
- NowthisServerCljs.PitchesResultPitches
- NowthisServerCljs.PitchesResultPitchesItems
- NowthisServerCljs.Renditions
- NowthisServerCljs.RenditionsResult
- NowthisServerCljs.RenditionsResultRenditions
- NowthisServerCljs.RenditionsResultRenditionsItems
- NowthisServerCljs.Response33228
- NowthisServerCljs.Response33228Result
- NowthisServerCljs.Response33228ResultPitches
- NowthisServerCljs.Response33228ResultPitchesItemsSchema
- NowthisServerCljs.Response33230
- NowthisServerCljs.Response33230Result
- NowthisServerCljs.Response33230ResultProjects
- NowthisServerCljs.Response33234
- NowthisServerCljs.Response33235
- NowthisServerCljs.Response33235Result
- NowthisServerCljs.Response33235ResultProducer
- NowthisServerCljs.Response33235ResultScriptWriter
- NowthisServerCljs.Response33235ResultTeam
- NowthisServerCljs.Response33242
- NowthisServerCljs.Response33243
- NowthisServerCljs.Response33247
- NowthisServerCljs.Response33247Result
- NowthisServerCljs.Response33249
- NowthisServerCljs.Teams
- NowthisServerCljs.TeamsResult
- NowthisServerCljs.TeamsResultTeams
- NowthisServerCljs.TeamsResultTeamsItems
- NowthisServerCljs.Users
- NowthisServerCljs.UsersResult
- NowthisServerCljs.UsersResultUsers
- NowthisServerCljs.UsersResultUsersItems
All endpoints do not require authorization.