Stores the base API endpoint for all REST requests.
Stores the default options to apply to every REST request.
Generate a query string for a URL based on object property values provided.
A query string parameters object to convert to a string.
A URL encoded string containing each parameter and value, or an empty string if no properties were provided.
Test if a string represents a UUID.
The string to test.
True if value represents a UUID.
Send a HTTP DELETE request to the given resource.
The full URL to the REST resource.
Optional query string parameters, if required.
Optional REST handler options, if required.
The result of the DELETE request.
Send a HTTP GET request to the given resource.
The full URL to the REST resource.
Optional query string parameters, if required.
Optional REST handler options, if required.
The result of the GET request.
Send a HTTP POST request to the given resource.
The full URL to the REST resource.
The data to include in the POST request body.
Optional REST handler options, if required.
The result of the POST request.
Send a HTTP PUT request to the given resource.
The full URL to the REST resource.
The data to include in the PUT request body.
Optional REST handler options, if required.
The result of the PUT request.
Send a generic HTTP request to the given resource.
The full URL to the REST resource.
Optional query string parameters, if required.
Optional REST handler options, if required.
The result of the request.
All details of HTTP request must be included in the options parameter, particularly the HTTP method:
simpleRequest('http://localhost/api/test', { }, { method: 'GET' });
Generated using TypeDoc
Controller: terminology | GET | /api/terminologies/providers/importers | Action: importerProviders | | GET | /api/terminologies/providers/exporters | Action: exporterProviders | | POST | /api/terminologies/import/${importerNamespace}/${importerName}/${importerVersion} | Action: importModels | | POST | /api/terminologies/export/${exporterNamespace}/${exporterName}/${exporterVersion} | Action: exportModels | | DELETE | /api/terminologies/${terminologyId}/readByAuthenticated | Action: readByAuthenticated | | PUT | /api/terminologies/${terminologyId}/readByAuthenticated | Action: readByAuthenticated | | DELETE | /api/terminologies/${terminologyId}/readByEveryone | Action: readByEveryone | | PUT | /api/terminologies/${terminologyId}/readByEveryone | Action: readByEveryone | | PUT | /api/terminologies/${terminologyId}/newModelVersion | Action: newModelVersion | | PUT | /api/terminologies/${terminologyId}/newDocumentationVersion | Action: newDocumentationVersion | | PUT | /api/terminologies/${terminologyId}/finalise | Action: finalise | | GET | /api/terminologies/${terminologyId}/tree | Action: tree | | POST | /api/folders/${folderId}/terminologies | Action: save | | GET | /api/folders/${folderId}/terminologies | Action: index | | PUT | /api/terminologies/${terminologyId}/folder/${folderId} | Action: changeFolder | | GET | /api/terminologies/${terminologyId}/diff/${otherModelId} | Action: diff | | PUT | /api/folders/${folderId}/terminologies/${terminologyId} | Action: changeFolder | | GET | /api/terminologies/${terminologyId}/export/${exporterNamespace}/${exporterName}/${exporterVersion} | Action: exportModel | | GET | /api/terminologies | Action: index | | DELETE | /api/terminologies | Action: deleteAll | | DELETE | /api/terminologies/${id} | Action: delete | | PUT | /api/terminologies/${id} | Action: update | | GET | /api/terminologies/${id} | Action: show | | PUT | /api/terminologies/${terminologyId}/newBranchModelVersion | Action: newBranchModelVersion | | PUT | /api/terminologies/${terminologyId}/newForkModel | Action: newForkModel | | GET | /api/terminologies/${terminologyId}/latestModelVersion | Action: latestModelVersion | | GET | /api/terminologies/${terminologyId}/latestFinalisedModel | Action: latestFinalisedModel | | GET | /api/terminologies/${terminologyId}/modelVersionTree | Action: modelVersionTree |