This section describes the Aspire REST API Endpoints used by the UI.
Performs a status check of the component in Aspire. The output depends on the type of check.
GET /aspire?cmd=check
Output:
Retrieves information related to the available applications.
POST /aspire?cmd=getAvailableApplications
Output:
Makes connectors perform specified actions.
POST /aspire?cmd=triggerAction
Output:
Gets statistics from content sources or services.
GET /aspire?cmd=getStatistics
Output:
Gets a list of the statistics of the previously run crawls of a content source.
GET /aspire?cmd=getHistoricalStatistics
Output:
Authenticates the user and enables it to perform other requests.
POST /aspire/admin/ui/files/login.html
This is an example, using the authentication type 'ConfigFile', at the settings.xml file.
..config\settings.xml
<?xml version="1.0" encoding="UTF-8"?> . . . <authentication> . . . <properties> <property name="adminPassword">searchtech</property> . . . </settings> Post Url: http://localhost:50505/aspire/admin/ui/files/login.html?login=true&username=admin&password=searchtech |
---|
Output:
Status | Name | Description |
N | New | The content source crawl has not been run before. |
I | Running | The content source crawl is running. |
IP | Paused | The content source crawl is paused. It will not process more documents until it resumes. |
E | Error | The content source crawl had an error and could not be completed. |
S | Completed | The content source crawl is completed successfully. |
IWP | Pausing | The content source crawl is in transition to |
IWS | Stopping | The content source crawl is in transition to |
IWR | Resuming | The content source crawl is in transition to |
IWA | Aborting | The content source crawl is in transition to |
L | Loading | The content source is being loaded by Aspire. |
F | Failed | The content source could not be loaded by Aspire. |
A | Aborted | The content source crawl was aborted. The next crawl will reset the statistics. |
X | Cancelled | The content source crawl was cancelled. |
IA | Inactive | The content source is inactive. |
POST /aspire?cmd=updateContentSource
Output:
Gets the list of all content sources.
Output: