rrhet_test_catalog_api v1.0.68
rrhet_test_catalog_api
RrhetTestCatalogApi - JavaScript client for rrhet_test_catalog_api TestCatalogueSample This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen
Installation
For Node.js
npm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install rrhet_test_catalog_api --save
Local development
To use the library locally without publishing to a remote npm registry, first install the dependencies by changing
into the directory containing package.json
(and this README). Let's call this JAVASCRIPT_CLIENT_DIR
. Then run:
npm install
Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR
:
npm link
Finally, switch to the directory you want to use your rrhet_test_catalog_api from, and run:
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
You should now be able to require('rrhet_test_catalog_api')
in javascript files from the directory you ran the last
command above from.
git
If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/rrhet_test_catalog_api then install it via:
npm install YOUR_USERNAME/rrhet_test_catalog_api --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, that's to say your javascript file where you actually
use this library):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Webpack Configuration
Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:
module: {
rules: [
{
parser: {
amd: false
}
}
]
}
Getting Started
Please follow the installation instruction and execute the following JS code:
var RrhetTestCatalogApi = require('rrhet_test_catalog_api');
var api = new RrhetTestCatalogApi.DefaultApi()
var uuid = "uuid_example"; // {String}
var extension = "extension_example"; // {String}
var token = "token_example"; // {String} The authorization token
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.fileDownloadGet(uuid, extension, token, callback);
Documentation for API Endpoints
All URIs are relative to https://testcatalog-api.rrhemergingtech.org/v2
Class | Method | HTTP request | Description |
---|---|---|---|
RrhetTestCatalogApi.DefaultApi | fileDownloadGet | GET /file-download | |
RrhetTestCatalogApi.DefaultApi | fileUploadPost | POST /file-upload | Upload a file |
RrhetTestCatalogApi.DefaultApi | globalRangePropertiesGet | GET /global-range-properties | Get all global range properties |
RrhetTestCatalogApi.DefaultApi | globalRangePropertiesIdDelete | DELETE /global-range-properties/{id} | Deletes a global range property |
RrhetTestCatalogApi.DefaultApi | globalRangePropertiesIdGet | GET /global-range-properties/{id} | |
RrhetTestCatalogApi.DefaultApi | globalRangePropertiesIdPut | PUT /global-range-properties/{id} | Update an existing global range property |
RrhetTestCatalogApi.DefaultApi | globalRangePropertiesPost | POST /global-range-properties | Upload a global range property |
RrhetTestCatalogApi.DefaultApi | propertyJournalsGet | GET /property-journals | Get all property journals |
RrhetTestCatalogApi.DefaultApi | propertyJournalsIdDelete | DELETE /property-journals/{id} | Deletes a property journal |
RrhetTestCatalogApi.DefaultApi | propertyJournalsIdGet | GET /property-journals/{id} | |
RrhetTestCatalogApi.DefaultApi | propertyJournalsIdPut | PUT /property-journals/{id} | Update an existing property journal |
RrhetTestCatalogApi.DefaultApi | propertyJournalsPost | POST /property-journals | Upload a property journal |
RrhetTestCatalogApi.DefaultApi | ptsDownloadIdGet | GET /pts-download/{id} | |
RrhetTestCatalogApi.DefaultApi | ptsDownloadPost | POST /pts-download | |
RrhetTestCatalogApi.DefaultApi | searchCriteriaGet | GET /search-criteria | Get all search criteria fields |
RrhetTestCatalogApi.DefaultApi | searchCriteriaIdDelete | DELETE /search-criteria/{id} | Deletes a Search Criteria |
RrhetTestCatalogApi.DefaultApi | searchCriteriaIdGet | GET /search-criteria/{id} | |
RrhetTestCatalogApi.DefaultApi | searchCriteriaIdPut | PUT /search-criteria/{id} | Update an existing Search Criteria |
RrhetTestCatalogApi.DefaultApi | searchCriteriaPost | POST /search-criteria | Upload the info |
RrhetTestCatalogApi.DefaultApi | searchResultsGet | GET /search-results | |
RrhetTestCatalogApi.DefaultApi | testCatalogSpreadsheetGet | GET /test-catalog/spreadsheet | Get the test-catalog spreadsheet |
RrhetTestCatalogApi.DefaultApi | testCatalogUploadExcelSpreadsheetPost | POST /test-catalog/spreadsheet | Upload a test-catalog spreadsheet |
RrhetTestCatalogApi.DefaultApi | testPropertiesGet | GET /test-properties | Get all test properties |
RrhetTestCatalogApi.DefaultApi | testPropertiesIdDelete | DELETE /test-properties/{id} | Deletes a test property |
RrhetTestCatalogApi.DefaultApi | testPropertiesIdGet | GET /test-properties/{id} | |
RrhetTestCatalogApi.DefaultApi | testPropertiesIdPut | PUT /test-properties/{id} | Update an existing test property |
RrhetTestCatalogApi.DefaultApi | testPropertiesPost | POST /test-properties | Upload a test property |
RrhetTestCatalogApi.DefaultApi | testsGet | GET /tests | Get all tests |
RrhetTestCatalogApi.DefaultApi | testsIdDelete | DELETE /tests/{id} | Deletes a test |
RrhetTestCatalogApi.DefaultApi | testsIdGet | GET /tests/{id} | |
RrhetTestCatalogApi.DefaultApi | testsIdPut | PUT /tests/{id} | Update an existing test |
RrhetTestCatalogApi.DefaultApi | testsPost | POST /tests | Upload a test |
RrhetTestCatalogApi.DefaultApi | usersGet | GET /users |
Documentation for Models
- RrhetTestCatalogApi.DataItem
- RrhetTestCatalogApi.DataRow
- RrhetTestCatalogApi.DataRows
- RrhetTestCatalogApi.FieldDefinition
- RrhetTestCatalogApi.GlobalRangeProperty
- RrhetTestCatalogApi.GlobalReferenceRangeParameterIndex
- RrhetTestCatalogApi.Location
- RrhetTestCatalogApi.PTSInfo
- RrhetTestCatalogApi.Permissions
- RrhetTestCatalogApi.PropertyJournal
- RrhetTestCatalogApi.SearchCriteria
- RrhetTestCatalogApi.SearchResult
- RrhetTestCatalogApi.StabilitySource
- RrhetTestCatalogApi.Test
- RrhetTestCatalogApi.TestDefinition
- RrhetTestCatalogApi.TestDefinitionSection
- RrhetTestCatalogApi.TestLocation
- RrhetTestCatalogApi.TestProperty
- RrhetTestCatalogApi.UploadedFile
- RrhetTestCatalogApi.User
Documentation for Authorization
All endpoints do not require authorization.
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago